Standard library

including

Bring a runtime library into this file — not a neighbour .alana, a packed-in one.

Syntax

including "stdlib/<name>.alana";

How she behaves

  • This is not import. import invites another source file. including opens a runtime library.
  • The standard library currently ships with the official Alana download.
  • Usual guests: stdlib/http.alana, stdlib/json.alana, stdlib/error.alana.

Example

including "stdlib/http.alana";
including "stdlib/json.alana";
including "stdlib/error.alana";

See also