An open API service indexing awesome lists of open source software.

https://github.com/alepop/curry

🍛 A curry function (another one)
https://github.com/alepop/curry

curry functional-programming

Last synced: 9 days ago
JSON representation

🍛 A curry function (another one)

Awesome Lists containing this project

README

          

# curry

Wonderful reusable library implementing Schönfinkelisation.

### npm
```bash
npm install @alepop/curry
```

# usage
```javascript
const curry = require('@alepop/curry');

const sum = curry((a,b) => a + b);

sum(1, 2) // 3
sum(1)(2) // 3
```