Re: Lua-enumerable is a library of table manipulation functi
Posted: Wed Jun 22, 2011 8:16 pm
Interestingly, what you call "fold", I know as "reduce" (as per Python).
In ruby (and smalltalk, I think) we call it inject. I like fold though.Robin wrote:Interestingly, what you call "fold", I know as "reduce" (as per Python).