0.0.1 • Published 12 years ago
pipeish v0.0.1
LambdaJS
The full ECMAScript API done a functional way.
RULES
- The data comes last. E.g: str.method(arg) -> method(arg, str)
- Everything is curried
- Functions with optional arguments are split into two functions. One with
_at the end that takes the options. E.g:indexOf(x,str)&indexOf_(x,y,str) - Every function is pure
Thanks so much to @casperin for doing a ton of the work on this!
USAGE
In the browser
<script src="utils.js"></script>
<script src="lambda.js"></script>
<script>LambdaJS.expose();</script>In node
npm install lambdarequire('pipeish');
LambdaJS.expose();0.0.1
12 years ago