##Update Code has been changed and fixed for Errata purposes, GitHub issues, and ES6 updates. The old code now lives under the legacy.
Since this code uses ES6 artifacts, any code meant to run on the browser must be transpiled with either:
- Babel
- Traceur
For Node.js users. This code requires:
node --version > 6.3.1
Please begin the project with
npm install
To load all of the required functional libraries.
In this repo you will find:
- All code samples (as runnable unit tests) of code used in chapters
- JS targeted for browser
- Functional data types like Optional, Either, Maybe, etc
- Access to some JavaScript functional libraries like lodash.js, streams.js, bacon.js, etc.
npm install qunit
npm install ramda
npm install lodash
npm install rxjs
##Running the tests Once QUnit is installed. You can run each test with the QUnit CLI by specifying the chapter number.
$> npm run ch[1-8]