A Lua utility-belt library for functional programming. It complements the built-in Lua table library, making easier
operations on arrays, lists, collections.
Moses was deeply inspired by Underscore.js.
Download & Installation
git clone git://github.com/Yonaba/Moses.git
luarocks install moses
moonrocks install moses
luarocks install --server=http://rocks.moonscript.org/manifests/Yonaba moses
Put the file moses.lua inside your project folder and call it using require command.
Find a complete set of code examples in tutorial.md
Credits and Acknowledgement
- Jeremy Ashkenas, for the amazing Underscore.js
- Marcus Irven's and JTArchie's 1-to-1 ports that also inspired this.
- LDoc (from Steve Donovan) used to generate the current HTML documentation.
Spec tests have been included.
Run them using Telescope with the following command from the root folder:
tsc -f spec/*