5 ms·
js iterators work over lazy streams
by css_apologist 5mo ago
js iterators work over lazy streams
- bjoli 5mo agoAs I said, it is a protocol for iteration or data access. You cant take an iterator and hand it as a filter to a file reader. If I make a rot13 transducer I can hand it to a transduce function that transforms a collection. I can give it to a file reader as a transformer on any char. Transducers are way to express transformations.
- deleted 5mo ago[deleted]