Hi, At a recent Amsterdam Clojure Meetup, we were looking into transducers.
We could not find any situation where the "zero arity" println would get called when using this futile transducer: (defn println-transducing-fn [reducing-fn] (fn new-reducing-fn ([] (println "zero arity") (reducing-fn)) ([accumulation] (println "one arity") (reducing-fn accumulation)) ([accumulation new-input] (println "two arity") (reducing-fn accumulation new-input)))) So, out of curiosity; what would be an example (by using transduce / sequence / iteration / core.async/chan etc) that would print "zero arity"? -Gijs -- 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.