Creates a curried function
npm install --save @spudly/curry
import curry from '@spudly/curry';
const add = curry((a, b, c) => a + b + c);
curriedAdd(1, 2, 3); // => 6
curriedAdd(1, 2)(3); // => 6
curriedAdd(1)(2, 3); // => 6
curriedAdd(1)(2)(3); // => 6
This project follows the all-contributors specification. Contributions of any kind welcome!