A collection of algorithms written in JavaScript in a functional programming style.
You might think that a "functional programming style" means monads, cofunctors, and applicative dinguses. Actually, it just means no loops, no mutations, and no side effects,
Anything expressed in for
and while
can also be expressed in recursion.
No variables are mutated because there are no variables, only constants.
Functions will always produce the same output given the same input. No sneaky global variables, calling the network, or running quicksort and then deleting all your songs on Spotify.
npm install
npm t