summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clj/clojure/data.clj9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/clj/clojure/data.clj b/src/clj/clojure/data.clj
index fc962049..f5730016 100644
--- a/src/clj/clojure/data.clj
+++ b/src/clj/clojure/data.clj
@@ -30,13 +30,13 @@
(declare diff)
-(defprotocol EqualityPartition
+(defprotocol ^{:added "1.3"} EqualityPartition
"Implementation detail. Subject to change."
- (equality-partition [x] "Implementation detail. Subject to change."))
+ (^{:added "1.3"} equality-partition [x] "Implementation detail. Subject to change."))
-(defprotocol Diff
+(defprotocol ^{:added "1.3"} Diff
"Implementation detail. Subject to change."
- (diff-similar [a b] "Implementation detail. Subject to change."))
+ (^{:added "1.3"} diff-similar [a b] "Implementation detail. Subject to change."))
(extend nil
Diff
@@ -101,6 +101,7 @@
by their indexes, with results returned as vectors.
* Everything else (including strings!) is treated as
an atom and compared for equality."
+ {:added "1.3"}
[a b]
(if (= (equality-partition a) (equality-partition b))
(diff-similar a b)