Permalink
Browse files

qualified :not-found keyword in priority-map

  • Loading branch information...
1 parent 7e1fed9 commit 52420d021b319b388b9a73bf26ef363e96859171 @Engelberg Engelberg committed May 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj
@@ -228,8 +228,8 @@ to Clojure's assortment of built-in maps (hash-map and sorted-map).
;without implements (dissoc pm k) behavior
(without
[this item]
- (let [priority (item->priority item :not-found)]
- (if (= priority :not-found)
+ (let [priority (item->priority item ::not-found)]
+ (if (= priority ::not-found)
;; If item is not in map, return the map unchanged.
this
(let [item-set (priority->set-of-items priority)]

0 comments on commit 52420d0

Please sign in to comment.