Char +base

data Char :: *
base Prelude, base Data.Char, base GHC.Exts
The character type Char is an enumeration whose values represent Unicode (or equivalently ISO/IEC 10646) characters (see http://www.unicode.org/ for details). This set extends the ISO 8859-1 (Latin-1) character set (the first 256 charachers), which is itself an extension of the ASCII character set (the first 128 characters). A character literal in Haskell has type Char. To convert a Char to or from the corresponding Int value defined by Unicode, use Prelude.toEnum and Prelude.fromEnum from the Prelude.Enum class respectively (or equivalently ord and chr).
Char :: Char -> Lexeme
base Text.Read.Lex, base Text.Read
Character literal
module Data.Char
base Data.Char
The Char type and associated operations.
CharConstr :: Char -> ConstrRep
base Data.Data
CharRep :: DataRep
base Data.Data
type CharBufElem = Char
base GHC.IO.Buffer
type CharBuffer = Buffer Char
base GHC.IO.Buffer
char :: Char -> ReadP Char
base Text.ParserCombinators.ReadP
Parses and returns the specified character.
charIsRepresentable :: Char -> IO Bool
base Foreign.C.String
Determines whether a character can be accurately encoded in a CString. Unrepresentable characters are converted to '?'. Currently only Latin-1 characters are representable.
charSize :: Int
base GHC.IO.Buffer
getChar :: IO Char
base Prelude, base System.IO
Read a character from the standard input device (same as hGetChar stdin).
putChar :: Char -> IO ()
base Prelude, base System.IO
Write a character to the standard output device (same as hPutChar stdout).
showChar :: Char -> ShowS
base Prelude, base Text.Show
utility function converting a Char to a show function that simply prepends the character unchanged.
castCCharToChar :: CChar -> Char
base Foreign.C.String
Convert a C byte, representing a Latin-1 character, to the corresponding Haskell character.
castCharToCChar :: Char -> CChar
base Foreign.C.String
Convert a Haskell character to a C character. This function is only safe on the first 256 characters.
castCharToCSChar :: Char -> CSChar
base Foreign.C.String
Convert a Haskell character to a C signed char. This function is only safe on the first 256 characters.
castCharToCUChar :: Char -> CUChar
base Foreign.C.String
Convert a Haskell character to a C unsigned char. This function is only safe on the first 256 characters.
castCSCharToChar :: CSChar -> Char
base Foreign.C.String
Convert a C signed char, representing a Latin-1 character, to the corresponding Haskell character.
castCUCharToChar :: CUChar -> Char
base Foreign.C.String
Convert a C unsigned char, representing a Latin-1 character, to the corresponding Haskell character.
data CChar
base Foreign.C.Types
Haskell type representing the C char type.

Show more results