EN
PréludeChargé par défaut — aucun import nécessaire.

Opérations sur les caractères

Synopsis
ord : Char -> Int

Point de code Unicode d'un caractère.

chr : Int -> Char

Caractère ayant le point de code Unicode donné.

toUpper : Char -> Char

Convertit un caractère en majuscule.

toLower : Char -> Char

Convertit un caractère en minuscule.

isAlpha : Char -> Bool

Le caractère est-il une lettre ?

isDigit : Char -> Bool

Le caractère est-il un chiffre (0–9) ?