tableutils

Set of general-utility functions for working with tables

$ luarocks install tableutils

Lua is a small language, and as a result its standard library lacks several methods that users of other languages rely on. For example, `map`, `select`, `reduce` and more.

This library provides two modules containing such methods: one for list-like tables and one for hash-like tables. Although Lua tables are not strictly lists or hashes, in practice I tend to use individual tables one way or the other. As such, it makes sense to have distinct utility methods for each of the two types.

Versions

2.2.1-11 year ago138 downloads
2.2.0-12 years ago62 downloads
2.1.0-13 years ago58 downloads
2.0.0-23 years ago30 downloads
2.0.0-13 years ago18 downloads
1.0.1-13 years ago49 downloads
1.0.0-14 years ago46 downloads

Dependencies

lua >= 5.1

Labels

Manifests