Module

Data.Char

Package
purescript-strings
Repository
purescript/purescript-strings

A type and functions for single characters.

#toCharCode Source

toCharCode :: Char -> Int

Returns the numeric Unicode value of the character.

#fromCharCode Source

fromCharCode :: Int -> Char

Constructs a character from the given Unicode numeric value.

#toLower Source

toLower :: Char -> Char

Converts a character to lowercase.

#toUpper Source

toUpper :: Char -> Char

Converts a character to uppercase.