Home

Awesome

ƒ

Implementing native versions of Haskell functions according to JavaScript ES6 standards.

  1. Haskell in ES6: Part 1
  2. Haskell in ES6: Part 2

Install & usage

$ git clone https://github.com/casualjs/f
$ npm install
var ƒ = require('./lib/ƒ');

Test with:

$ npm test

Functions

Miscellaneous functions:

List operations:

Special folds:

Infinite lists:

Sublists:

Zipping and unzipping lists: