Liking cljdoc? Tell your friends :D

stringer.core


append!cljmacro

(append! holder & args)

Append all arguments to the StringBuilder instance.

Append all arguments to the StringBuilder instance.
sourceraw docstring

fmtcljmacro

(fmt format-string)

Make a function that renders given format-string.

Make a function that renders given format-string.
sourceraw docstring

join!cljmacro

(join! holder delimiter coll)

Like clojure.string/join, but appends tokens to a holder instead of returning a string.

Like clojure.string/join, but appends tokens to a holder instead of returning a string.
sourceraw docstring

join-all!cljmacro

(join-all! holder delimiter & args)

Interpose args with delimiter and apply each element of the result sequence to the (.append holder %) method.

Interpose args with delimiter and apply each element of the result sequence to the (.append holder %) method.
sourceraw docstring

nformatcljmacro

(nformat format-string)
(nformat format-string params)

Render a format-string having named parameters in {param} form. Named parameters are assumed to be local vars unless specified in a map argument, eg. {:param "value"}.

Render a format-string having named parameters in {param} form.
Named parameters are assumed to be local vars unless specified
in a map argument, eg. {:param "value"}.
sourceraw docstring

nrenderclj

(nrender format-tokens-or-string params)

Render format-tokens or format-string having named parameters in {param} form. Like nformat, but slower and can handle non-literal format string.

Render format-tokens or format-string having named parameters in {param} form. Like `nformat`, but slower and can
handle non-literal format string.
sourceraw docstring

repcharclj

(repchar n ch)

Repeat a char given number of times and return the final string.

Repeat a char given number of times and return the final string.
sourceraw docstring

repstrclj

(repstr n token)

Repeat a string given number of times and return the final string.

Repeat a string given number of times and return the final string.
sourceraw docstring

strcatcljmacro

(strcat)
(strcat token)
(strcat token & more)

Concatenate strings faster than 'str'. Note that this is a macro, hence cannot be used as a function.

Concatenate strings faster than 'str'. Note that this is a macro, hence
cannot be used as a function.
sourceraw docstring

strdelcljmacro

(strdel delimiter & args)

Concatenate tokens with specified delimiter.

Concatenate tokens with specified delimiter.
sourceraw docstring

strfmtcljmacro

(strfmt format-str & args)

Format (like clojure.core/format but only %b, %d, %f, %h, %n, %o, %s, %x supported) given string with arguments. The format-string must resolve as a string at compile time. Flags and width/precision specifiers are not supported.

Format (like clojure.core/format but only %b, %d, %f, %h, %n, %o, %s, %x supported) given string with arguments. The
format-string must resolve as a string at compile time. Flags and width/precision specifiers are not supported.
sourceraw docstring

strtblclj

(strtbl rows)
(strtbl ks rows)

Return string representation of a textual table. Like clojure.pprint/print-table, but faster and does not print.

Return string representation of a textual table. Like clojure.pprint/print-table, but faster and does not print.
sourceraw docstring

with-obj-strcljmacro

(with-obj-str bindings & body)

Given a single-binding vector (or a local symbol that's automatically bound to a new StringBuilder instance), execute the specified body of code in the binding context and return the string representation of the local.

Given a single-binding vector (or a local symbol that's automatically bound to a new StringBuilder instance),
execute the specified body of code in the binding context and return the string representation of the local.
sourceraw docstring

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

× close