News for hackers. Stuff that matters.
Re:Transducers are coming to Clojure by spion on Wednesday August 06, 2014 @08:22PM (#8145646)
I think its just reduce, but in general its possible to write many implementations of reduce. It could be applied to lazy sequences, observables (to get a future or a new observable) and many other reducible things
Re:Transducers are coming to Clojure by richhickey on Wednesday August 06, 2014 @08:35PM (#8145707)
Yes, it's not just the 'reduce' function. You can think of many kinds of jobs in terms of seeded left reductions. Here's an example of some of the functions that can apply a transducer to their internal 'step' operation:

https://gist.github.com/richhickey/b5aefa622180681e1c81

Note how one transducer stack is created and can be reused in many different contexts.