(match-source! {:keys [code path]}
pattern
{:keys [show-filename? trailing-newline?] :as options})
Match a pattern against a source and print all matches.
Match a pattern against a source and print all matches.
(prepend-line-numbers start-line mode lines)
Prepend line numbers to each line in a sequence. Lines are left-padded with spaces. The mode can be :first (prepend the first line only) or :all.
Prepend line numbers to each line in a sequence. Lines are left-padded with spaces. The mode can be :first (prepend the first line only) or :all.
(split-lines s)
clojure.string/split-lines that preserves trailing newlines and carriage returns.
clojure.string/split-lines that preserves trailing newlines and carriage returns.
(unindent-lines lines)
Unindent lines. Return a sequence of lines to be later joined with '\n'.
Unindent lines. Return a sequence of lines to be later joined with '\n'.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close