epsilonz_algebra

Abstract Algebra in Rust. (NOTE: this crate is merging with https://github.com/bjz/algebra)


Keywords
math, algebra, category-theory, functional, monoids
License
MIT

Documentation

algebra.rs

Abstract Algebra in Rust

build status

Synopsis

This library implements Monoid, Semigroup and related traits. Semigroups are mathematical structures with an associative operation (e.g., (+), (*), (&&), (||), …).

The design of this library is roughly fashioned after Kmett's semigroups for Haskell.

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

Discussion

There is an IRC channel on freenode (chat.freenode.net) at #epsilonz.