Expand description
Generic functional concepts implemented in Rust.
Some choices are intentionally less generic due to specifics of the domain.
That, for example, includes the almost exclusive focus on FnOnce category.
Sources:
Re-exports
pub use self::extensions::MonadExt;
Modules
- Useful helper functions/methods to extrapolate the existing behaviour.
- Implementation of some basic instances (in Haskell’s meaning of a instances).
Traits
- Equivalent of Haskell’s
Applicative. Split intoPure,ApplicativeSeq,ApplicativeLA2andApplicativeTupledue to Rust limitations. - Part of
Applicativeresponsible for Haskell’s result combinationlistA2. - Part of
Applicativeresponsible for Haskell’s sequential application<*>. - Part of
Applicativeresponsible for Rust-style result combination, specifically for tuples. - Rust-specific implementation of
Functor, respectingmovesemantics. - Equivalent of Haskell’s
Monad. - Part of
Applicativeresponsible for Haskell’s value lifting,pure. - Part of Haskell’s
Functor fresponsible for havingf a.