(map-map map val-fn)
(map-map map key-fn val-fn)
Construct a new map from an existing one. Each of val-fn and (optional - default (fn [k v] k)) key-fn are a function of two arguments, the key and value. Note that to make the usage more natural the optional key-fn argument goes in the second place when used.
Construct a new map from an existing one. Each of val-fn and (optional - default (fn [k v] k)) key-fn are a function of two arguments, the key and value. Note that to make the usage more natural the optional key-fn argument goes in the second place when used.
(slurp-lines path)
Slurp a file and split into lines
Slurp a file and split into lines
(slurp-lines-map path map-fn)
Slurp a file, split into lines, and map a function over the result.
Slurp a file, split into lines, and map a function over the result.
(slurp-split path split-re)
Slurp a file and split into parts on a regexp.
Slurp a file and split into parts on a regexp.
(slurp-split-map path split-re map-fn)
Slurp a file, split into parts on a regexp, and map a function over the result.
Slurp a file, split into parts on a regexp, and map a function over the result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close