@f/curry-once

    1.3.2 • Public • Published

    curry-once

    Build status Git tag NPM version Code style

    Simple curry function.

    Installation

    $ npm install @f/curry-once
    

    Usage

    var curry = require('@f/curry-once')
     
    var add = curry(function (a, b) {
      return a + b
    })
     
    var addOne = add(1)
    addOne(1) // => 2
     

    API

    curry(fn)

    • fn - function to curry

    Returns: curried partial of fn

    License

    MIT

    Keywords

    none

    Install

    npm i @f/curry-once

    DownloadsWeekly Downloads

    2

    Version

    1.3.2

    License

    MIT

    Last publish

    Collaborators

    • f