A Practical Combinator Library
npm install apclSee [Combinatory Programming][cp] for details.
[cp]: https://blog.zdsmith.com/posts/combinatory-programming.html
Returns its argument.
Given two arguments, returns the left one.
Given two arguments, returns the right one.
Returns a function which returns x no matter what it is passed.
Performs function composition.
Any number of functions can be composed.
The innermost function may take any arguments; all subsequent functions
expect a single argument.
Returns a function which applies f to a spread of its argument.
Returns a function which permutes its arguments and applies them to f.
Returns a function that passes its argument to f twice.
Returns a function that applies its arguments to g and h, taking the
resulting values as the arguments to f.
Returns a function that applies g to each of its arguments, taking the
resulting values as the arguments to f.
x no matter what it is passed.Any number of functions can be composed.
The innermost function may take any arguments; all subsequent functions
expect a single argument.
f to a spread of its argument.f.f twice.g and h, taking thef.g to each of its arguments, taking thef.Kind: global function