CString

A C string is a reference to an array of C characters terminated by NUL.
GHC C strings definitions (previously in GHC.Base). Use GHC.Exts from the base package instead of importing this module directly.
bool is whether whitespace is significant
C String literals
String
A null-terminated ASCII encoded CString. Null characters are not representable.
Create a builder from a NUL-terminated CString. This ignores any textual encoding, copying bytes until NUL is reached.
Consume input matching the NUL-terminated C String.
A function that renders a c-like string with escaped characters. Note that although it's called cstring, this can be used with most (all) backend as they seem to mostly share escaping conventions. The c in the name is barely an homage for C being the oldest language in the lot.
>>> cstring "foobar"
"foobar"
>>> cstring "foobar\""
"foobar\""
A string with explicit length information in bytes instead of a terminating NUL (allowing NUL characters in the middle of the string).
Information on a property of type Text to be registered. A property name consists of segments consisting of ASCII letters and digits, separated by either the '-' or '_' character. The first character of a property name must be a letter. Names which violate these rules lead to undefined behaviour. When creating and looking up a property, either separator can be used, but they cannot be mixed. Using '-' is considerably more efficient and in fact required when using property names as detail strings for signals. Beyond the name, properties have two more descriptive strings associated with them, the nick, which should be suitable for use as a label for the property in a property editor, and the blurb, which should be a somewhat longer description, suitable for e.g. a tooltip. The nick and blurb should ideally be localized.
Compute the length of a NUL-terminated string. This address must refer to immutable memory. GHC includes a built-in rule for constant folding when the argument is a statically-known literal. That is, a core-to-core pass reduces the expression cstringLength# "hello"# to the constant 5#.
A null-terminated UTF-8 encoded CString. Null characters can be encoded as 0xc0 0x80.
Pack a CString into a Ptr than can go into a GHashTable.