Permalink
Browse files

* src/cljs/cljs/core.cljs: vector-seqs now implement ICollection

  • Loading branch information...
1 parent 43ff1c4 commit 1d20ac061199a0acd3a1fe5ae08579edb255f377 David Nolen committed May 19, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/cljs/cljs/core.cljs
View
@@ -2558,7 +2558,10 @@ reduces them without incurring seq initialization"
(vector-seq v offset)
())))
ISeqable
- (-seq [vseq] vseq)))))
+ (-seq [vseq] vseq)
+ ICollection
+ (-conj [this o]
+ (cons o this))))))
(deftype PersistentVector [meta cnt shift root tail ^:mutable __hash]
Object

0 comments on commit 1d20ac0

Please sign in to comment.