Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Nicola Mometto
Nicola MomettoApproval
Ok
Patch
Code and Test
Priority

Affects versions
Fix versions
Created November 15, 2014 at 12:10 AM
Updated January 9, 2015 at 2:02 PM
Resolved January 9, 2015 at 2:02 PM
Several reduce implementations don't properly respect reduced:
clojure.core.ArrayChunk's implementation of IChunk/reduce
VecSeq's impl of InternalReduce/reduce
APersistentVector's reduce with init doesn't unwrap reduced on last value
seqs of primitive arrays don't unwrap reduced on last value
PersistentList doesn't unwrap reduced on last value
Some examples:
Patch: 0001-ensure-IReduce-IReduceInit-implementors-respect-redu.patch
Screened by: Alex Miller
See also: http://dev.clojure.org/jira/browse/CLJ-1537