Expand description
Concrete data types, their corresponding implementations and type aliases.
This module provides implementations of various functional programming
data structures and wrappers, including Identity, Lazy, and extensions
for standard library types like Option and Result.
Re-exports§
pub use endofunction::Endofunction;pub use endomorphism::Endomorphism;pub use identity::Identity;pub use lazy::Lazy;pub use pair::Pair;
Modules§
- arc_fn
- Implementations for atomically reference-counted
closures (
Arc<dyn Fn(A) -> B>). - endofunction
- Implementations for
Endofunction, a wrapper for endofunctions (functions from a set to the same set) that enables monoidal operations. - endomorphism
- Implementations for
Endomorphism, a wrapper for endomorphisms (morphisms from an object to the same object) that enables monoidal operations. - identity
- Implementations for
Identity, a type that wraps a value. - lazy
- Implementations for
Lazy, the type of lazily-computed, memoized values. - once_
cell - Implementations for
OnceCell - once_
lock - Implementations for
OnceLock - option
- Implementations for
Option. - pair
- Implementations for
Pair, a type that wraps two values. - rc_fn
- Implementations for reference-counted closures
(
Rc<dyn Fn(A) -> B>). - result
- Implementations for
Result. - string
- Implementations for
String. - vec
- Implementations for
Vec.