Documentation
The Inko standard library
Inko's standard library is a collection of modules available to every
application. Some types and methods provided by the standard library are
available by default without the need for an explicit import
(e.g. the Array
and Map
types), while others require an explicit import
(e.g.
std.set.Set
).
For more information, refer to the Inko manual.
Modules
std.array | An ordered, integer-indexed generic collection of values. |
std.bool | Boolean true and false. |
std.byte_array | Arrays of bytes |
std.channel | A multi-producer, multi-consumer FIFO queue. |
std.clone | Cloning of objects. |
std.cmp | Types for for common comparison operations, such as equality, ordering, inclusion, and others. |
std.crypto.chacha | The ChaCha family of stream ciphers. |
std.crypto.cipher | Types for cryptographic ciphers. |
std.crypto.hash | Types for cryptographic hash functions. |
std.crypto.math | Mathematical operations for cryptographic algorithms. |
std.crypto.md5 | An implementation of the MD5 hash function. |
std.crypto.poly1305 | The Poly1305 universal hash function. |
std.crypto.sha1 | An implementation of the SHA1 hash function. |
std.crypto.sha2 | Implementations of the SHA256 and SHA512 hash functions. |
std.debug | Runtime debugging functionality |
std.drop | Types and methods for dropping values. |
std.endian.big | Methods for converting values to/from big-endian encoded bytes. |
std.endian.little | Methods for converting values to/from little-endian encoded bytes. |
std.env | Methods for inspecting the OS process' environment. |
std.float | The Float type. |
std.fmt | Formatting of Inko values for debugging purposes. |
std.fs | General types for filesystem operations. |
std.fs.file | Types and methods for manipulating files on a filesystem. |
std.fs.path | Cross-platform path manipulation. |
std.hash | Types and methods for hashing objects. |
std.hash.siphash | The SipHash hashing algorithm. |
std.int | The Int type. |
std.io | Types for core IO functionality. |
std.iter | Iterating over collections |
std.json | Parsing and generating of JSON. |
std.map | A hash map using linear probing and Robin Hood entry stealing. |
std.net.ip | IPv4 and IPv6 address types. |
std.net.socket | IP and Unix domain sockets. |
std.nil | A type to signal the absence of a more meaningful value. |
std.ops | Traits for the various binary operators. |
std.option | Optional values. |
std.optparse | Parsing of command-line options and arguments. |
std.process | Lightweight Inko processes. |
std.rand | Cryptographically secure random number generation. |
std.range | Inclusive and exclusive ranges. |
std.result | Types for error handling. |
std.set | A hash set implemented using a Map. |
std.signal | Handling of Unix signals. |
std.stdio | STDIN, STDOUT, and STDERR streams. |
std.string | A UTF-8 encoded and immutable string. |
std.sys | Types and methods for interacting with the underlying system. |
std.test | A simple unit testing library. |
std.time | Types and methods for dealing with time. |
std.tuple | A finite group of values, possibly of different types. |
std.utf8 | Methods for working with UTF-8 scalars and code point. |