aboutsummaryrefslogtreecommitdiff
path: root/src/main/clojure/clojure/contrib/generic/comparison.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/clojure/clojure/contrib/generic/comparison.clj')
-rw-r--r--src/main/clojure/clojure/contrib/generic/comparison.clj10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/clojure/clojure/contrib/generic/comparison.clj b/src/main/clojure/clojure/contrib/generic/comparison.clj
index 625471e3..47210cbf 100644
--- a/src/main/clojure/clojure/contrib/generic/comparison.clj
+++ b/src/main/clojure/clojure/contrib/generic/comparison.clj
@@ -1,7 +1,7 @@
;; Generic interfaces for comparison operations
;; by Konrad Hinsen
-;; last updated March 4, 2010
+;; last updated May 25, 2010
;; Copyright (c) Konrad Hinsen, 2009-2010. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
@@ -178,19 +178,19 @@
[x y]
(clojure.core/= x y))
-(defmethod > [Object Object]
+(defmethod > [java.lang.Number java.lang.Number]
[x y]
(clojure.core/> x y))
-(defmethod < [Object Object]
+(defmethod < [java.lang.Number java.lang.Number]
[x y]
(clojure.core/< x y))
-(defmethod >= [Object Object]
+(defmethod >= [java.lang.Number java.lang.Number]
[x y]
(clojure.core/>= x y))
-(defmethod <= [Object Object]
+(defmethod <= [java.lang.Number java.lang.Number]
[x y]
(clojure.core/<= x y))