4 ms·
I wrote this library while working in Torch because I missed clojure.core: https://github.com/rosejn/lua-fn/blob/master/fn/seq.lua https://github.com/rosejn/lu
by goldenshale 11y ago
I wrote this library while working in Torch because I missed clojure.core:
https://github.com/rosejn/lua-fn/blob/master/fn/seq.lua 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.