forked from mirven/underscore.lua
-
Notifications
You must be signed in to change notification settings - Fork 1
A utility library for Lua
License
ashe-dolinsky-old/underscore.lua
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Lua version of http://documentcloud.github.com/underscore/, see http://mirven.github.com/underscore.lua/ for more information. This fork contains three additions to the core underscore.lua: simple_reduce, multi_map and table_iterator. simple_reduce doesn't require a base case, it uses the first yield of an iterator passed to it instead. multi_map can be used on a list of lists of indefinite length, with a callback given having a number of arguments equal to the number of iterators in the list of iterators. This function caters to the iterator with the least amount of yields. table_iterator is a simple iterator to run through a table, it yields a key-value pair as a table.
About
A utility library for Lua
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Lua 82.0%
- HTML 14.4%
- Ruby 3.6%