package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Fmt.OCamlSource
Formatting OCaml literal values.
int formats int literals. Warning. Values formatted on a 64-bit platform may not parse on 32-bit platforms.
nativeuint formats unsigned nativeint literals (i.e. as hexadecimal).
Chars and strings
FIXME. Can we make the string combinators multi line ?
char formats char literals as follows:
Char.Ascii.is_printexcept single quote and slash are printed verbatim.- Characters
'\'','\\','\n','\r'and'\t'are printed just as written here. - Other charactres use hex escapes
'\xhh'.
ascii_string formats string literals using char, except that double quotes are escaped and single quotes are not.
string formats string literals. Assumes an UTF-8 encoded string but escapes:
- Double quotes.
- C0 control characters (U+0000-U+001F)
- C1 control characters (U+0080-U+009F)
- Line separator (U+2028) and paragraph separator (U+2029).
- UTF-8 decode errors by hex escapes
\xhh.
binary_string formats binary string literals. All characters are formatted using \xhh escapes.
Parametric types
Note. Depending on what you print an enclosing parens may be due on the arguments.
result ~ok ~error formats result literals.
t5 formats quintuplets.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page