casualjavascript / haskell-in-es6

Source for "Haskell in ES6" article series

Home Page:http://casualjavascript.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ƒ

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:

About

Source for "Haskell in ES6" article series

http://casualjavascript.com

License:MIT License


Languages

Language:JavaScript 100.0%