Skip to content

Primitives

Use this when you need to look up an ilo type sigil or scalar/literal form.

SigilMeaningLiteral example
nnumber (f64)42, 3.14, -7
u32unsigned 32-bit integer42u, 0u
u64unsigned 64-bit integer42U, 0U
i64signed 64-bit integer42L, -7L
ttext (string)"hello", "line\n"
bbooltrue, false
_nil / wildcardnil

u32/u64/i64 are native integer types with wrapping semantics and dedicated bitwise operators. Use them when you need exact integer widths (crypto, binary protocols, WASM interop).

SigilMeaningExample
L Tlist of TL n, L t, L _
M K Vmap from K to VM t n
R T Eresult, ok=T, err=ER n t
O Toptional TO n
S a b csum type / discriminated unionS red green blue
F A Rfunction typeF n t (takes n, returns t)
ilo
ok=~42 -- R _ _ with ok payload 42
bad=^"oh no" -- R _ t with err payload
some=?42 -- O n with value
none=? -- O _ empty
ilo
-- single-line comment

There are no multi-line comments. The double-hyphen runs to end of line.

  • Lowercase only. myVar is an error (ILO-L003).
  • Hyphens are allowed inside identifiers. Underscores are not (ILO-L002).
  • Short by convention: 1 to 3 chars for locals, 2 to 4 for functions.

See Types & Functions for how primitives compose into function signatures.