core library

Stable compatibility export for Dart-only Dust functional primitives.

Classes

Err<T, E>
Failed operation result.
None<T>
Option state for an absent value.
Ok<T, E>
Successful operation result.
Option<T>
Optional value wrapper for Rust-style present-or-absent values.
Result<T, E>
Result of an operation that can either succeed with T or fail with E.
Some<T>
Option state for a present value.
Unit
Empty success value for operations that only signal completion.

Constants

unit → const Unit
Shared unit value.