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

fantasyland/fantasy-combinators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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