Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix DPRIMAP-1 by implementing Iterable.

  • Loading branch information...
commit a4f0fd03caea476743f67e98fd109a39f7ac8a4e 1 parent 787753f
@seancorfield seancorfield authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/main/clojure/clojure/data/priority_map.clj
View
3  src/main/clojure/clojure/data/priority_map.clj
@@ -261,6 +261,9 @@ to Clojure's assortment of built-in maps (hash-map and sorted-map).
(keySet [this] (set (keys this)))
(values [this] (vals this))
(entrySet [this] (set this))
+
+ Iterable
+ (iterator [this] (clojure.lang.SeqIterator. (seq this)))
clojure.lang.IPersistentStack
(peek [this]
Please sign in to comment.
Something went wrong with that request. Please try again.