Map, filter, etc as lazy iterator transforms
$ luarocks install iter
iter offers the familiar map(), filter(), etc but with a twist: rather than transforming tables, iter transforms the values in iterators.
iter is very similar to Python's lazy generator transforms. Transformations are lazy and no work is done until the iterator is consumed (usually with a `for` loop).