ollym/toolkit — pull request #31 by hrishikeshparanjape (2012-07-13 07:16:33+00:00)
Title: new functionality

Added a method called foldLeft. Using this, we can facilitate developers to use curried arguments. For example,

[1,2,3,4,5].foldLeft(0)(function(init,next){init+next});//returns 15
["a","b","c","d","e"].foldLeft("")(function(init,next){init+next});//returns "abcde"