stoeffel / fantasy-monoids

A collection of monoids

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fantasy Monoids

General

Name empty concat
Additive 0 +
Conjunction true &&
Disjunction false ||
Dual(M) empty concat
Endo function identity function composition
Multiplicative 1 *
Unit {} {}
Min Number.MIN_VALUE <
Max Number.MAX_VALUE >

Testing

Library

Fantasy Options uses nodeunit for all the tests and because of this there is currently an existing adapter in the library to help with integration between nodeunit and Fantasy Check.

Coverage

Currently Fantasy Check is using Istanbul for code coverage analysis; you can run the coverage via the following command:

This assumes that you have istanbul installed correctly.

istanbul cover nodeunit -- test/*.js

About

A collection of monoids


Languages

Language:JavaScript 100.0%