Browse files

Add vector factory and conj wrapper

  • Loading branch information...
michalmarczyk committed Apr 30, 2012
1 parent 2b12c01 commit d76e3355bce816daa56270eb51a02c8e374b2629
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/cljs/phm.cljs
@@ -63,3 +63,9 @@
(defn ^:export literal-map-12 [a s d f g h j k l z x c]
{:a a :s s :d d :f f :g g :h h :j j :k k :l l :z z :x x :c c})
+(defn ^:export empty-persistent-vector []
+ cljs.core.PersistentVector/EMPTY)
+(defn ^:export conjwrapper [coll o]
+ (conj coll o))

0 comments on commit d76e335

Please sign in to comment.