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)
- Host: GitHub
- URL: https://github.com/alepop/curry
- Owner: alepop
- Created: 2017-08-25T11:31:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-25T12:14:36.000Z (about 8 years ago)
- Last Synced: 2025-01-03T09:45:27.298Z (10 months ago)
- Topics: curry, functional-programming
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@alepop/curry
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```