Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
71 lines (51 loc) · 3.21 KB

README.md

File metadata and controls

executable file
·
71 lines (51 loc) · 3.21 KB

Build Status Coverage Status License Join the chat at https://gitter.im/Yonaba/Moses

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

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 (~63 kiB). You can alternatively use the minified version (~20 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-2017 Roland Yonaba.
See LICENSE.

Bitdeli Badge