Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Currying

A NPM package that allows you to create partial functions!

How to Install

# node
$ npm install --save @syednashikaman/currying

# yarn
$ yarn add @syednashikaman/currying

How to Use

// your-file.js
require('currying');

function say(firstWord, secondWord) {
  return firstWord + ' ' + secondWord;
}

const sayHello = say.curry('Hello');
sayHello('world!'); // "Hello world!"

About

Create partial functions with style!

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages