No description
Find a file
2015-02-23 14:00:07 +01:00
readme.md add arity example 2015-02-23 14:00:07 +01:00

Functional Programming Jargons

The whole idea of this repos is to try and define jargons from combinatorics and category theory jargons that are used in functional programming in a easier fashion.

Let's try and define these with examples, this is a WIP please feel free to send PR ;)

Arity

The number of arguments a function takes.

const sum = (a, b) => a + b;

const arity = sum.length;
console.log(arity);
// => 2
// The arity of sum is 2

Purity


Side effects


Idempotency


Referential Transparency


Monoid


Monad


Functor