This is a cool library that brings a data structure, very common to functional programming, to javascript. It's a bit mind blowing if you haven't been exposed, but can be pretty slick.
http://streamjs.org/
--
“The limits of language are the limits of one's world. “ - Ludwig von Wittgenstein
"Water is fluid, soft and yielding. But water will wear away rock, which
is rigid and cannot yield. As a rule, whatever is fluid, soft and
yielding will overcome whatever is rigid and hard. This is another
paradox: what is soft is strong." - Lao-Tzu