Source for "Haskell in ES6" article series
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.
lib
test
.editorconfig
.gitignore
LICENSE.md
README.md
package.json
ƒ.js

README.md

ƒ

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: