Clojure-Contrib

Implements clojure.contrib.priority-map

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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

Activity

Hide
Assembla Importer added a comment -

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

Show
Assembla Importer added a comment - 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

People

  • Assignee:
    puzzler
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: