Home / Docs / Standard library

Prelude

Release v0.4.0

The items of the prelude, which every module has in scope, one page each. Some signatures differ between editions; an item's page shows each.

Operators, comparisons, equality and interpolation are built in and not listed here (spec/14 §2). The built-in methods, .len and those of maps and of fixed-width integers, are on Built-in methods.

By area

Unstable, not part of the specification: see docs/std/README.md. Hand-written; crates/una-cli/tests/std_listing.rs checks it against the listing.

The items described in full so far, with parameters, failures, cost where stated, and an example; 31 of this module's 81 are not yet.

Text

Numbers

Lists

Options and results

Maps

JSON

Keys

Types

Capabilities

Functions

Predicates

Generated from the standard modules of una v0.4.0 (docs/std/listing.json, which is not part of the specification). The specification governs: spec/14 §1.