funny-curry-n

v1.0.1
Simple modules for functional programming, done for fun.
curryN fp funny functional

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.

Metadata

  • MIT
  • Whatever
  • Luís Rodrigues
  • released 8/28/2016

Downloads

Maintainers