The prelude
Inko automatically imports certain symbols into your modules. These symbols are part of what is called "the prelude".
The prelude includes the following types and methods:
Symbol | Source module |
---|---|
Array | std.array |
Boolean | std.bool |
ByteArray | std.byte_array |
Float | std.float |
Int | std.int |
Map | std.map |
Nil | std.nil |
Option | std.option |
Result | std.result |
String | std.string |
panic | std.process |