Moses, utility library for functional programming in Lua
github.com
github.com
https://github.com/rosejn/lua-fn/blob/master/fn/seq.lua
It provides a lazy sequence abstraction based on iterators as well as a nice set of functional building blocks. I think this type of library design is better than the for loop based style of moses because you can handle infinite sequences, partially sampled execution, early stopping, etc.
Also, luafun was designed around optimizations offered in LuaJIT. I doubt the same is true of Moses.