Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add vector factory and conj wrapper

  • Loading branch information...
commit d76e3355bce816daa56270eb51a02c8e374b2629 1 parent 2b12c01
@michalmarczyk authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/cljs/phm.cljs
View
6 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))
Please sign in to comment.
Something went wrong with that request. Please try again.