String
is the type of (UTF-8 encoded) strings.
The compiler overrides the data representation of this type to a byte sequence,
and both String.utf8ByteSize
and String.length
are cached and O(1).
Constructor
String.mk (data : List Char) : String |
Pack a |
Fields
data | : | List Char |
Unpack |