LuaTable

A library that give superpowers to lua tables

$ luarocks install --server=https://luarocks.org/dev luatable

This library extends the common Lua table by adding iterators, operators and utility functions.

• Iterators:
- iter - step
- range - group
- slide - keys
- values - inverse

• Functional:
- map - reduce
- accept - reject
- flatten

• Utils:
- max, min, avg, sum, mul
- sort
- find
- pack
- clone
- slice
- merge
- unique
- difference
- intersect
- keySet, keyList
- valueSet, valueList, valueSequence
- sample
- shuffle
- reverse
- maximize, minimize
- removeNils

• Operators:
- at - get
- pop - head
- has - hasKey
- add
- last - first
- push - apppend
- empty - notEmpty
- clear

Versions

scm-1dev6 years ago90 downloads

Dependencies

lua

Labels

Manifests