Thank you! This was pretty much the answer I was hoping for. I actually
found the ticket but was still baffled that it isn't currently possible.
keskiviikko 10. elokuuta 2016 17.07.40 UTC+3 Alex Miller kirjoitti:
>
> I think you're really talking about reductions, not reduce. In sequence
> form,
I think you're really talking about reductions, not reduce. In sequence
form, like:
user=> (reductions + [0 1 2 3 4 5])
(0 1 3 6 10 15)
There is not currently a reductions transducer although there is a ticket
proposing to add one: http://dev.clojure.org/jira/browse/CLJ-1903
You don't have to
Hi,
I'm wondering why reduce doesn't return a transducer like map does. For
example I'd like to this:
(async/chan 1 (reduce +))
I could use async/reduce but it doesn't provide a result before the source
channel closes, I want to have a streaming result.
What is the philosophy behind not havin