Lua-enumerable is a library of table manipulation functions
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Lua-enumerable is a library of table manipulation functi
Interestingly, what you call "fold", I know as "reduce" (as per Python).
Help us help you: attach a .love.
-
- Prole
- Posts: 5
- Joined: Thu Dec 03, 2009 5:47 pm
Re: Lua-enumerable is a library of table manipulation functi
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).
I just want to thank all you guys for your suggestions and code. I'm going to get these incorporated later tonight or tomorrow. You're all awesome.
Who is online
Users browsing this forum: No registered users and 1 guest