[CLJ-1160] reducers/mapcat ignores Reduced Created: 11/Feb/13 Updated: 14/Aug/13 Resolved: 14/Aug/13
|Affects Version/s:||Release 1.5|
|Fix Version/s:||Release 1.6|
|Reporter:||Christophe Grand||Assignee:||Christophe Grand|
|Patch:||Code and Test|
Problem: clojure.core.reducers/mapcat does not stop on reduced? values.
Cause: r/mapcat introduces an intermediate reduce which swallows the reduced value coming from r/take.
|Comment by Stuart Sierra [ 02/Aug/13 2:31 PM ]|
Cleaned up description.
|Comment by Stuart Sierra [ 02/Aug/13 2:36 PM ]|
Original patch lazy-rmapcat.diff had whitespace errors, which I have fixed in a new patch lazy-rmapcat2.diff. I also added the ticket number to the commit message.
|Comment by Stuart Sierra [ 02/Aug/13 2:37 PM ]|