Fork me on GitHub
#clojure-europe
<
2019-10-22
>
kardan07:10:50

Good morning

plexus07:10:39

bonan matenon

thomas09:10:03

Buono Estente

mpenet10:10:42

the example is a bit of a reimplementation of iter-reduce in core I think. IReduceInit supports Iterables out of the box

mpenet10:10:59

but that's a good article to understand the mechanics

Ben Hammond12:10:07

If you have an actual Iterable then things definitely become easier

Ben Hammond12:10:11

and therefore pointless, but trying to keep the example simple

mpenet14:10:45

Got it, I didn't mean to be negative, I hope it didn't come across that way. It's a good example to keep the input part out of the way clearly. I actually did just that (IReduceInit+iterable) in the past to save some cycles (mostly fn calls).

👍 4