A reimplementation of the format function for ClojureScript
A reimplementation of the format function for ClojureScript
(-format s & args)
(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.
(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
(dformat d group?)
Uses the default locale to do number formatting
Uses the default locale to do number formatting
(err s lexed)
(format-dec a width left flagset?)
Formats decimal integers according to provided flags and width
Formats decimal integers according to provided flags and width
(format-hex a width left flagset?)
Formats hex numbers according to provided flags and width
Formats hex numbers according to provided flags and width
(format-oct a width left flagset?)
Formats octal numbers according to provided flags and width
Formats octal numbers according to provided flags and width
(hex n)
Convert an integer to a hexadecimal string
Convert an integer to a hexadecimal string
(new-buffer)
(new-buffer init)
non-interop function for creating a string buffer
non-interop function for creating a string buffer
(oct n)
Convert an integer to a octal string
Convert an integer to a octal string
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close