A String is a list of characters. String constants in Haskell are values of type String.
The String type and associated operations.
Utilities for primitive marshalling of C strings.
The marshalling converts each Haskell character, representing a Unicode code point, to one or more bytes in a manner that, by default, is determined by the current locale. As a consequence, no guarantees can be made about the relative length of a Haskell string and its corresponding C string, and therefore all the marshalling routines include memory allocation. The translation between Unicode and the encoding of the current locale may be lossy.
String literal, with escapes interpreted
Make Strings an instance of Stream with Char token type.
This module corresponds to parts of section 6.1.5 (String Queries) of the OpenGL 3.2 specs.
A primitive C-style string, type Addr#
Parses and returns the specified string.
string s parses a sequence of characters given by s. Returns the parsed string (i.e. s).
> divOrMod = string "div"
> <|> string "mod"
stringBufferOp is the BufferOp definition over Strings. It is defined in terms of strictBufferOp operations, unpacking/converting to String when needed.
This lexeme parser parses a literal string. Returns the literal string value. This parsers deals correctly with escape sequences and gaps. The literal string is parsed according to the grammar rules defined in the Haskell report (which matches most programming languages quite closely).
Show more results