Awesome
ƒ
Implementing native versions of Haskell functions according to JavaScript ES6 standards.
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:
-
take
asƒ.take
-
drop
asƒ.drop
-
splitAt
asƒ.splitAt
-
takeWhile
asƒ.takeWhile
-
dropWhile
asƒ.dropWhile
Zipping and unzipping lists: