Prelude
The following items are available globally in every Do program without any
import statement.
The dolang executable layers its
shell prelude on top of this core prelude.
Embedded runtimes may provide a different additional prelude.
std
| Name | Description |
|---|---|
Array |
Array type |
array |
Variadic array factory |
Bin |
Bin type |
Bool |
Bool type |
bool |
Truthiness coercion |
dbg |
Debug representation |
Dict |
Dict type |
dict |
Variadic dictionary factory |
Float |
Float type |
float |
Numeric coercion and parsing |
Func |
Func type |
getter |
Class field getter decorator |
Int |
Int type |
int |
Integer coercion and parsing |
Module |
Module type |
Range |
Range type |
Record |
Record type |
record |
Variadic record factory |
Set |
Set type |
setter |
Class field setter decorator |
Str |
Str type |
str |
Textual representation |
Sym |
Sym type |
sym |
Symbol interning |
Tuple |
Tuple type |
tuple |
Variadic tuple factory |
Type |
Type type |
type |
Type query and test function |
strand
The module itself is imported.