Closed mccraigmccraig closed 6 years ago
No, that seems to be a reasonable expectation:
> (transduce (partition-by :foo) conj [] [{:foo 10 :bar 10} {:foo 20 :bar 20} {:foo 30 :bar 30}])
[[{:foo 10, :bar 10}] [{:foo 20, :bar 20}] [{:foo 30, :bar 30}]]
I'll look at how Manifold handles transducers and see if I can identify the issue.
Hi, this was fixed a few months back in https://github.com/ztellman/manifold/pull/136, but I haven't pushed out a new release since then. If you target [manifold "0.1.7-alpha6"]
everything should work as expected.
i thought the third
take!
should return{:foo 30 :bar 30}
- or am i misunderstanding something ?