Module functions

Module functions 

Source
Expand description

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

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::foldable::fold_left;
pub use crate::typeclasses::foldable::fold_map;
pub use crate::typeclasses::foldable::fold_right;
pub use crate::typeclasses::functor::map;
pub use crate::typeclasses::monoid::empty;
pub use crate::typeclasses::pure::pure;
pub use crate::typeclasses::semigroup::append;
pub use crate::typeclasses::traversable::sequence;
pub use crate::typeclasses::traversable::traverse;

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.