Liking cljdoc? Tell your friends :D

clormat.core

A reimplementation of the format function for ClojureScript

A reimplementation of the format function for ClojureScript
raw docstring

-formatclj/s

(-format s & args)

appendclj/s

(append b d)

Adds data to the end of a buffer. Abstracted so a different approach can also be used.

Adds data to the end of a buffer. Abstracted so a different approach can also be used.
raw docstring

convertclj/s

(convert [_ _ _ flags width precision conversion rem :as lexed] arg)

Converts a lexed specifier and argument into the required string

Converts a lexed specifier and argument into the required string
raw docstring

dformatclj/s

(dformat d group?)

Uses the default locale to do number formatting

Uses the default locale to do number formatting
raw docstring

errclj/s

(err s lexed)

formatcljs


format-decclj/s

(format-dec a width left flagset?)

Formats decimal integers according to provided flags and width

Formats decimal integers according to provided flags and width
raw docstring

format-hexclj/s

(format-hex a width left flagset?)

Formats hex numbers according to provided flags and width

Formats hex numbers according to provided flags and width
raw docstring

format-octclj/s

(format-oct a width left flagset?)

Formats octal numbers according to provided flags and width

Formats octal numbers according to provided flags and width
raw docstring

hexclj/s

(hex n)

Convert an integer to a hexadecimal string

Convert an integer to a hexadecimal string
raw docstring

new-bufferclj/s

(new-buffer)
(new-buffer init)

non-interop function for creating a string buffer

non-interop function for creating a string buffer
raw docstring

octclj/s

(oct n)

Convert an integer to a octal string

Convert an integer to a octal string
raw docstring

set-widthclj/s

(set-width s w decr l)
(set-width s w decr l c)

Sets the minimum width of a string, padding with a provided character if needed. s: The string to set the minimum width for. w: The minimum width, as a character count. decr: a decrement to use on the width, if not nil l: If true, the the output should be left-justified c: The character to pad the width, or space if not provided.

Sets the minimum width of a string, padding with a provided character if needed.
s: The string to set the minimum width for.
w: The minimum width, as a character count.
decr: a decrement to use on the width, if not nil
l: If true, the the output should be left-justified
c: The character to pad the width, or space if not provided.
raw docstring

specclj/s

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

× close