<< Back to previous view

[CONTRIB-89] Implements clojure.contrib.priority-map Created: 17/Jul/10  Updated: 24/Aug/10  Resolved: 24/Aug/10

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

Type: Defect
Reporter: Anonymous Assignee: puzzler
Resolution: Completed Votes: 0
Labels: None


 Description   

Adds clojure.contrib.priority-map, a variety of sorted map that's useful for many priority queue situations.

http://groups.google.com/group/clojure-dev/browse_thread/thread/fdb000cae4f66a95



 Comments   
Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/89
Attachments:
prioritymap.diff - https://www.assembla.com/spaces/clojure/documents/aD2s4mKDqr34-UeJe5cbLr/download/aD2s4mKDqr34-UeJe5cbLr

Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

puzzler said: http://github.com/clojure/clojure-contrib/commit/18c8713709e4cb095d10b154854f8d0b8fb50ad8

Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

puzzler said: I realized shortly after uploading the file that although I made the equality of priority maps behave like regular maps and sorted maps, I forgot to adjust the hashCode method accordingly.

Fixed that, and added a corresponding test case.

http://github.com/clojure/clojure-contrib/commit/08b2d37a962cc5baf2c37ad767067233eadfc6ca

Generated at Sat Sep 20 11:01:17 CDT 2014 using JIRA 4.4#649-r158309.