Permalink
Browse files

* src/main/clojure/clojure/core/logic.clj: remove useless IPair protocol

  • Loading branch information...
1 parent 187d3ca commit 5699506184f64dd6dde54156962f07d1c00514ca David Nolen committed Aug 1, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/main/clojure/clojure/core/logic.clj
View
7 src/main/clojure/clojure/core/logic.clj
@@ -188,10 +188,6 @@
;; =============================================================================
;; Pair
-(defprotocol IPair
- (lhs [this])
- (rhs [this]))
-
(deftype Pair [lhs rhs]
clojure.lang.ILookup
(valAt [this k]
@@ -212,9 +208,6 @@
0 lhs
1 rhs
not-found))
- IPair
- (lhs [_] lhs)
- (rhs [_] rhs)
java.util.Map$Entry
(getKey [_] lhs)
(getValue [_] rhs)

0 comments on commit 5699506

Please sign in to comment.