Skip to content

Commit

Permalink
Use clssified classnames for map and set
Browse files Browse the repository at this point in the history
this is was the solution discussed at clj-commons#55
  • Loading branch information
kolharsam committed May 29, 2020
1 parent 8bd5880 commit ef6af5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/flatland/ordered/map.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

(declare transient-ordered-map)

(deftype OrderedMap [^IPersistentMap backing-map
^IPersistentVector order]
(deftype OrderedMap [^clojure.lang.IPersistentMap backing-map
^clojure.lang.IPersistentVector order]

;; tagging interfaces
MapEquivalence
Expand Down
4 changes: 2 additions & 2 deletions src/flatland/ordered/set.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
(fn old-hasheq-ordered-set [^Seqable s]
(reduce + (map hash (.seq s))))))

(deftype OrderedSet [^IPersistentMap k->i
^IPersistentVector i->k]
(deftype OrderedSet [^clojure.lang.IPersistentMap k->i
^clojure.lang.IPersistentVector i->k]
IPersistentSet
(disjoin [this k]
(if-let [i (.valAt k->i k)]
Expand Down

0 comments on commit ef6af5c

Please sign in to comment.