Fold left (aka reduce or reduce left) is the basic list iterator. Straight, efficient and dumb: once it starts it has to get… Read more Fold Left in JavaScript (with all thinkable examples)
Month: September 2013
Streams (in Javascript)
A stream is a sequence of values, like a mathematical series could be. This series of values is provided by… Read more Streams (in Javascript)
Fold Right in Javascript (with all thinkable examples)
Gist: Fold right (aka reduce right) is the basic list recursion operator. Way more intelligent than its cousin fold left. It has a non-intuitive… Read more Fold Right in Javascript (with all thinkable examples)