Javascript functional programming utilities
Name | Description |
---|---|
curry | Returns a curried equivalent of the provided function. |
compose | Performs right-to-left function composition. |
flip | Creates a function that invokes the original function with its parameters reversed. |
partial | Creates a new function that invokes the provided function with partials prepended to the arguments it receives. |
partialRight | Creates a new function that invokes the provided function with partials appended to the arguments it receives. |
pipe | Performs left-to-right function composition. |
trace | Inspect the values between functions in a point-free style when using function composition. |
$ npm run test