funny-curry-n

1.0.2 • Public • Published

curryN

Simple modules for functional programming, done for fun.

Usage

import curryN from 'funny-curry-n'
 
const max3 = curryN(3, Math.max)
max3(1, 2, 3)
max3(1, 2)(3)
max3(1)(2, 3)
max3(1)(2)(3)

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0

Package Sidebar

Install

npm i funny-curry-n

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • goblindegook