Make functions curried
Open
- Dominant language
- JavaScript
- Stars
- 17
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
`curry: true` will make all methods curried
``` javascript
var o = Monadic({
foo: function(a, b) {
return a+b;
}
}, {curry: true});
```
so you can do
``` javascript
['Foo', 'Bar', 'Baz'].map(o.foo('Lorem '));
// ==> ['Lorem Foo', 'Lorem Bar', 'Lorem Baz']
```
Curry can be set by default and make it unable when option set to false.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.