Liking cljdoc? Tell your friends :D

had-utils.io


line->intsclj

(line->ints line)

Get integers from a string. Assumes the string begins and ends with a digit.

Get integers from a string. Assumes the string begins and ends with a digit.
sourceraw docstring

slurp-gridclj

(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.
sourceraw docstring

slurp-linesclj

(slurp-lines path)

Slurp the file at path and split into lines

Slurp the file at `path` and split into lines
sourceraw docstring

slurp-lines-mapclj

(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.
sourceraw docstring

slurp-splitclj

(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`.
sourceraw docstring

slurp-split-mapclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close