1 unstable release
Uses old Rust 2015
0.0.1 | Nov 21, 2014 |
---|
#13 in #category-theory
Used in 3 crates
32KB
1.5K
SLoC
algebra.rs
Abstract Algebra in Rust
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
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.