Skip to content

Commit

Permalink
* src/main/clojure/clojure/core/logic.clj: remove useless IPair protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nolen authored and David Nolen committed Aug 1, 2012
1 parent 187d3ca commit 5699506
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/clojure/clojure/core/logic.clj
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@
;; =============================================================================
;; Pair

(defprotocol IPair
(lhs [this])
(rhs [this]))

(deftype Pair [lhs rhs]
clojure.lang.ILookup
(valAt [this k]
Expand All @@ -212,9 +208,6 @@
0 lhs
1 rhs
not-found))
IPair
(lhs [_] lhs)
(rhs [_] rhs)
java.util.Map$Entry
(getKey [_] lhs)
(getValue [_] rhs)
Expand Down

0 comments on commit 5699506

Please sign in to comment.