From 52420d021b319b388b9a73bf26ef363e96859171 Mon Sep 17 00:00:00 2001 From: Mark Engelberg Date: Fri, 20 May 2011 20:42:45 -0700 Subject: qualified :not-found keyword in priority-map --- .../priority-map/src/main/clojure/clojure/contrib/priority_map.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj b/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj index 77a5df1b..ac1dcea9 100644 --- a/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj +++ b/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)] -- cgit v1.2.3-18-g5258