Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

fantasyland/fantasy-monoids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(Ord) Ord.min Ord.compare
Max(Ord) Ord.max Ord.compare

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

Releases

No releases published

Packages

No packages published