vincent.sampieri5
2021-2-8 22:49:46

@vincent.sampieri5 has joined the channel


notjack
2021-2-9 05:15:40

I kind of wish that the batching and grouping transducers made it easier to specify a subpipeline. Like instead of this: > (transduce (list 1 'a 2 'b 3 'c 4 'd 5 'e) (batching (into-transduced (filtering number?) (taking 3) #:into into-list)) #:into into-list) (list (list 1 2 3) (list 4 5)) I’d rather write this: > (transduce (list 1 'a 2 'b 3 'c 4 'd 5 'e) (batching (filtering number?) (taking 3) #:into into-list) #:into into-list) (list (list 1 2 3) (list 4 5)) that is, have the signature of batching be (batching transducer … #:into reducer) instead of just (batching reducer)



kellysmith12.21
2021-2-9 05:31:27

That looks like it’d be convenient.