Skip to content

alepop/curry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curry

Wonderful reusable library implementing Schönfinkelisation.

npm

npm install @alepop/curry

usage

const curry = require('@alepop/curry');

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

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