kumarshantanu  committed 7518d48

clean up - coll-as-keys and coll-as-string functions

  • Participants
  • Parent commits 64aa80e
  • Branches default

Comments (0)

Files changed (1)

File src/main/clj/org/bituf/clj_miscutil.clj

 (defn ^List coll-as-string
   "Convert each element in a collection to string and return a vector."
-  (as-vector (map as-string ks)))
+  (vec (map as-string (as-vector ks))))
 (defn ^List coll-as-keys
   "Convert each element in a collection to keyword and return a vector."
-  (as-vector (map keyword ks)))
+  (vec (map keyword (as-vector ks))))
 (defn ^Map keys-to-str