Hacker News new | ask | show | jobs
by richhickey 4327 days ago
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.