3 ms·fair point, in js it will, in other languages that idiom gets deforested into a single pass thoughby agumonkey 7y agofair point, in js it will, in other languages that idiom gets deforested into a single pass thoughchris_st 7y agoCool, which languages do this?cofunctor 7y agoThis ought to work with any lazy language (or lazy data structure), which is one of the huge benefits of laziness for FP.