char
Parses and returns the specified character.
char c parses a single character
c. Returns the
parsed character (i.e.
c).
semiColon = char ';'
Match a specific character.
A document of height and width 1, containing a literal character.
A document of height and width 1, containing a literal character.
A type-constrained version of
single.
newline = char 10
A type-constrained version of
single.
semicolon = char ';'
Combinator for the
char attribute.
Example:
div ! char "bar" $ "Hello."
Result:
<div char="bar">Hello.</div>
Make an image from a single character. This is a standard Haskell
31-bit character assumed to be in the ISO-10646 encoding.
char c parses a single character
c. Returns the
parsed character (i.e.
c).
e.g.
semiColon = char ';'
A variation on
char that doesn't quote the expected token in
error messages
The document
(char c) contains the literal character
c. The character shouldn't be a newline (
'n'), the
function
line should be used for line breaks.
Match a specific character
>>> match (char '1') "1"
"1"
>>> match (char '2') "1"
""
Decoder of the CHAR values. Note that it supports Unicode
values.
Encoder of CHAR values.
Note that it supports Unicode values and identifies itself under the
TEXT OID because of that.
The document
(char c) contains the literal character
c. The character shouldn't be a newline (
'n'), the
function
line should be used for line breaks.
A 1x1 box containing a single character.
Encode a UTF-8 char. This only uses as much space as is required.