After venturing out a little further, I discovered that completing is meant 
to be used on a function passed to the second argument to transduce, but 
not the first arguement.

For example,
(transduce (map inc)
           (completing (fn
                         ([m v] (+ m v))
                         ([] 0)))
           [1 2 3 4 5])

On Tuesday, July 21, 2015 at 9:09:53 PM UTC+9, crocket wrote:
>
> It doesn't attach a 0-arity signature to a reducing function, and a 
> transducer needs a 0-arity signature.
>
> Is it a bug?
>

-- 
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.

Reply via email to