/Moses

Utility library for functional programming in Lua

Primary LanguageLuaMIT LicenseMIT

Build Status Coverage Status License

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 ###Bash

Join the chat at https://gitter.im/Yonaba/Moses

git clone git://github.com/Yonaba/Moses.git

###Archive

###LuaRocks

luarocks install moses

###MoonRocks

moonrocks install moses

or :

luarocks install --server=http://rocks.moonscript.org/manifests/Yonaba moses

##Usage## Put the file moses.lua inside your project folder and call it using require command.

Note: the full source moses.lua is quite heavy (~59 kiB). You can alternatively use the minified version (~17.5 kiB).

##Tutorial## Find a complete set of code examples in tutorial.md

##Documentation##

  • Available in HTML-format for download : see doc.
  • Read it in your browser : see online doc

##Credits and Acknowledgement##

##Specification Spec tests have been included.
Run them using Telescope with the following command from the root folder:

tsc -f spec/*

##License## This work is under MIT-LICENSE
Copyright (c) 2012-2014 Roland Yonaba.
See LICENSE.

Bitdeli Badge