<< Back to previous view

[CLJ-1040] reduce-kv on sorted maps should reduce, in sorted order Created: 10/Aug/12  Updated: 01/Mar/13  Resolved: 15/Aug/12

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Stuart Halloway Assignee: Stuart Halloway
Resolution: Duplicate Votes: 0
Labels: None

Attachments: Text File fix-reduce-kv-for-sorted-maps.patch    
Approval: Ok


Currently reduces, but not in sorted order.

Comment by Alan Malloy [ 10/Aug/12 3:09 PM ]

Stuart, your patch doesn't check for Reduced after calling f on the current node; I think you need to move that check along with the call to f.

Comment by Alan Malloy [ 10/Aug/12 3:18 PM ]

CLJ-1041 is a related issue, and its patch also includes a commit that I think would fix your patch.

Generated at Mon Jan 22 14:28:43 CST 2018 using JIRA 4.4#649-r158309.