free.rs
Macro-based free monads in Rust
Synopsis
This crate provides the machinery to create a free monad from a signature functor. See monad for instances of concrete monads like State
, Reader
, etc.
Documentation
See the API documentation here.
Requirements
You can install both with the following:
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
See Installing Rust for further details.
Usage
$ cargo build ## build library and binary
$ cargo test ## run tests in ./tests
$ cargo bench ## run benchmarks in ./benches