Awesome
Fantasy Readers
General
Reader represents a computation, which can read values from a shared environment, pass values from function to function, and execute sub-computations in a modified environment.
- Simple example
- Monad a day 1: Reader: Short video by Brian Lonsdorf introducing the Reader Monad.
Testing
Library
Fantasy Readers 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