Hacker News new | ask | show | jobs
by birdsbolt 4002 days ago
This is only slightly complicated if you're writing your own transducer operation.

What is interesting is that these transducing operations can be written quite generically - code reuse is huge.

But, usage of transducers is similar to Java 8 Streams, or Haskell stream fusion, only that the implementation is fully generic, not dependent on the container/source.