I'm also curious to understand how the underlying implementation of transducers leads function composition to behave in the reverse order of ordinary function composition.
On Thu, Aug 7, 2014 at 8:07 AM, <vve...@gmail.com> wrote: > Hello, what is the reason for comp to produce two different orderings > depending on whether it composes partials or transducers? > > (comp (partial filter even?) (partial map (partial + 1))) > (comp (filter even?) (map (partial + 1))) > > Wouldn't it be more intuitive for upcoming clojurians to have both > cases exhibit the same execution order? > > > On Wednesday, August 6, 2014 8:01:24 PM UTC+2, Rich Hickey wrote: > >> I pushed today the initial work on transducers. I describe transducers >> briefly in this blog post: >> >> http://blog.cognitect.com/blog/2014/8/6/transducers-are-coming >> >> This work builds on the work done for reducers, bringing >> context-independent mapping, filtering etc to other areas, such as >> core.async. >> >> This is work in progress. We will be cutting alpha releases to help make >> it easier to start using core's transducers together with core.async's new >> support for them. >> >> I am very excited about this powerful technique and how we all might use >> it. >> >> Please have a look. >> >> Feedback welcome, >> >> Rich >> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.