Common combinators.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
README.md
fantasy-combinators.js
package.json

README.md

Fantasy Combinators

General

Combinators which are used for fantasy-land projects.

  • Combinators
    1. Apply - A combinator
    2. Compose - B combinator
    3. Constant - K combinator
    4. Fix - Y combinator
    5. Flip - C combinator
    6. Identity - I combinator
    7. Substitution - S combinator
    8. Thrush - T combinator
    9. Psi - P combinator

Testing

Library

Fantasy Combinators 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