Expand description
Functional Libary for Rust
This is still a work in progess..
Functor
use funlib::Functor;
let s = Some(3).fmap(|&a| a * 2); // this will produce Some(6)
Monad
use funlib::Monad;
let s = Some(3).bind(|&a| Some(a * 2)); // this will produce Some(6)
Modules
Foldable mod containing the foldable type classes
Applicative implementations and tests
Foldable implementations and tests
Functor implementations and tests
Monad implementations and tests
Monoid implementations and tests
Semigroup implementations and tests