fp-curry-n

1.0.2 • Public • Published

fp-curryN

Using a curry function, you can give any variadic function the ability to be partially applied.

npm install fp-curryN

Usage

const curryN = require('fp-curryN')
const add = (a, b) => a + b
const sum = curryN(3, reduce)(add, 0)

Readme

Keywords

none

Package Sidebar

Install

npm i fp-curry-n

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • twilson63