Skip to content

Commit

Permalink
maps should be iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed May 27, 2015
1 parent a672cc1 commit ba0d207
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/potemkin/collections.clj
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@
(entrySet [this]
(->> this seq set))

java.util.Iterator
(iterator [this]
(clojure.lang.SeqIterator. this))

clojure.lang.IPersistentMap
(assocEx [this k v]
(if (contains? this k)
Expand Down

0 comments on commit ba0d207

Please sign in to comment.