I wrote this library while working in Torch because I missed clojure.core:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rosejn&#x2F;lua-fn&#x2F;blob&#x2F;master&#x2F;fn&#x2F;seq.lua" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rosejn&#x2F;lua-fn&#x2F;blob&#x2F;master&#x2F;fn&#x2F;seq.lua</a><p>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.