Module functions

Source
Expand description

Generic, helper free functions, combinators and re-exports of typeclass functions that dispatch to instance methods.

Re-exports§

pub use crate::typeclasses::apply::apply;
pub use crate::typeclasses::apply_first::apply_first;
pub use crate::typeclasses::apply_second::apply_second;
pub use crate::typeclasses::bind::bind;
pub use crate::typeclasses::functor::map;
pub use crate::typeclasses::monoid::empty;
pub use crate::typeclasses::pure::pure;
pub use crate::typeclasses::semigroup::append;

Functions§

compose
Takes functions f and g and returns the function f . g (f composed with g).
constant
Returns its first argument.
flip
Returns a version of the input curried binary function with its arguments flipped.
identity
Returns its input.