Skip to Content
i documentation
The language standardChapters

12. Built-in names

These names may be used in every module. Other names may cover them.

NameWhat it isSee
Int Float String List BitArray UtfCodepoint NeverTypes§4.2
Bool ResultNames§4.2
True False Nil Ok ErrorLabelled types and their constructors§4.2
Assert AssertionFailure FailLabelled types and their constructors§9.3, §9.6
Boundary ContinuationBuilt-in types made by i/control§9.4
Key KeyedBuilt-in types made by i/key§9.8
Request TicketBuilt-in types operated on by i/request§9.11
panic(String) -> Never§11.7
assert(Bool) <- (Assert) -> Nil§9.6

These are normal functions and types. The modules i/fail (§9.3), i/control (§9.4), i/resource (§9.5), i/assertion (§9.6), i/io (§9.7), i/key (§9.8), i/task (§9.9), i/random (§9.10), i/request (§9.11), i/core (§13), and i/syntax (§14) give the other names. The IO module list is extended with its service definitions.