(slurp-grid path)
(slurp-grid path f)
Slurp the file at path
, making a two-d grid of one character substrings. If
f
is supplied then map it over each substring.
Slurp the file at `path`, making a two-d grid of one character substrings. If `f` is supplied then map it over each substring.
(slurp-lines path)
Slurp the file at path
and split into lines
Slurp the file at `path` and split into lines
(slurp-lines-map path map-fn)
Slurp the file at path
, split into lines, and map map-fn
over the result.
Slurp the file at `path`, split into lines, and map `map-fn` over the result.
(slurp-split path split-re)
Slurp the file at path
and split into parts on split-re
.
Slurp the file at `path` and split into parts on `split-re`.
(slurp-split-map path split-re map-fn)
Slurp the file at path
, split into parts on split-re
,
and map map-fn
over the result.
Slurp the file at `path`, split into parts on `split-re`, and map `map-fn` over the result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close