Idiom # 152: Turn a character into a string
Code
Fuzion does not define a specific type for a character.
A string
is a Sequence
of codepoint
s that may be
represented using arbitrary encodings such as utf8. A
single codepoint
itself, however, is also a string
, so
creating a string
from a codepoint
is the identity
operation.
A codepoint can be created from a unicode number given as
a u32
, so u32
can be considered Fuzion's equivalent
to a char
type.