Lua-enumerable is a library of table manipulation functions

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
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

Post by Robin »

Interestingly, what you call "fold", I know as "reduce" (as per Python).
Help us help you: attach a .love.
mikelovesrobots
Prole
Posts: 5
Joined: Thu Dec 03, 2009 5:47 pm

Re: Lua-enumerable is a library of table manipulation functi

Post by mikelovesrobots »

Robin wrote: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.

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest