1.2.0 permalink Arrow_down_16x16
  • (map-str f coll)
Apply f to each element of coll, concatenate all results into a
String.

1 Example top

  • (require '[clojure.contrib.str-utils2 :as s])
    
    user=> (s/map-str s/upper-case ["foo" "bar" "zot"])
    "FOOBARZOT"
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/str_utils2.clj:313 top

(defn ^String map-str
  "Apply f to each element of coll, concatenate all results into a
  String."
  [f coll]
  (apply str (map f coll)))
Vars in clojure.contrib.str-utils2/map-str: apply defn map str
Used in 0 other vars

Comments top

No comments for map-str. Log in to add a comment.