On Tuesday, 5 September 2017 00:07:07 UTC+1, Alex Miller wrote: > > When you say "the" answer here, that doesn't make sense to me. > Nor me. But, I think I've got it now, thanks for your help. The question I should have asked was "what is the purpose of the ([x] ...) arity in an eduction?" I wish I could phrase my questions as clearly as you phrase your answers!
> The termination value in an eduction is just a nil, so x is nil in the > ([x] ...) arity. > I couldn't understand why, in eduction, the function was being called with arity 1 at all if the result was not being used. Is this so that stateful transducers can 'clean up' their state in some way at the end? -- 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.