free

Macro-based free monads in Rust


Keywords
algebra, category-theory, functional, monads, stackless
License
MIT

Documentation

free.rs

Macro-based free monads in Rust

build status

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

  1. Rust
  2. Cargo

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