table_goodies

Some extra table functions for general use

$ luarocks install table_goodies

This is a small package for extra (can't live without) functions for working with tables.
This includes:
* `table.equals(t1, t2)` -> `bool`, a recursive (deep) equality function
* `table.merge(t, ...)` -> `t`, a table merging function (select("#", ...) -> select(1, ...) -> t1)
* `table.map(t, f)` -> `t`, a mapping (apply f to every value) function

Versions

1.0-02 years ago(revision: 2)34 downloads

Dependencies

lua >= 5.1

Manifests