toupper -package:text-latin1

Convert a letter to the corresponding upper-case letter, if any. Any other character is returned unchanged.
O(n) Convert a string to upper case, using simple case conversion. The result string may be longer than the input string. For instance, the German "ß" (eszett, U+00DF) maps to the two-letter sequence "SS".
O(n) Convert a string to upper case, using simple case conversion. The result string may be longer than the input string. For instance, the German eszett (U+00DF) maps to the two-letter sequence SS. Properties
unstream . toUpper . stream = toUpper
O(n) Convert a string to upper case, using simple case conversion. The result string may be longer than the input string. For instance, the German eszett (U+00DF) maps to the two-letter sequence SS.
O(n) Convert a string to upper case, using simple case conversion. Subject to fusion. The result string may be longer than the input string. For instance, the German "ß" (eszett, U+00DF) maps to the two-letter sequence "SS".
O(n) Convert a string to upper case, using simple case conversion. Subject to fusion. The result string may be longer than the input string. For instance, the German eszett (U+00DF) maps to the two-letter sequence SS.
Convert a textual sequence to upper-case.
> toUpper "hello world"
"HELLO WORLD"
Micro sign/mu (0xb5) and small letter Y with diaeresis (0xff) remain the same.
Micro sign/mu (0xb5) and small letter Y with diaeresis (0xff) remain the same.
O(n) Convert a string to upper case, using simple case conversion. Subject to fusion. The result string may be longer than the input string. For instance, the German "ß" (eszett, U+00DF) maps to the two-letter sequence "SS".
Uppercase the characters in a string. Casing is locale dependent and context sensitive. The result may be longer or shorter than the original.
Convert a letter to the corresponding upper-case letter, if any. Any other character is returned unchanged. It uses the character property Simple_Uppercase_Mapping. See: upperCaseMapping and toUpperString for full upper case conversion.
toUpper c == Data.Char.toUpper c
Convert to upper-case. Only works for the Latin1 subset, otherwise returns its argument unchanged.
>>> prove $ \c -> toUpperL1 (toUpperL1 c) .== toUpperL1 c
Q.E.D.

>>> prove $ \c -> isUpperL1 c .=> toUpperL1 (toLowerL1 c) .== c
Q.E.D.
Convert a character to full upper case if defined, else to itself. The result string may have more than one character. For instance, the German “ß” (U+00DF Eszett) maps to the two-letter sequence “SS”. It uses the character property Uppercase_Mapping. See: toUpper for simple upper case conversion.
toUpperString c == foldMap toUpperString (toUpperString c)
Converts a key value to upper case, if applicable.
convert string to uppercase with standard Haskell toUpper function
Convert a character to ASCII upper case. If the character is not an ASCII lower case letter, it is returned unchanged. Unlike the standard C library toupper() function, this only recognizes standard ASCII letters and ignores the locale, returning all non-ASCII characters unchanged, even if they are upper case letters in a particular character set. Also unlike the standard library function, this takes and returns a char, not an int, so don't call it on EOF but no need to worry about casting to guchar before passing a possibly non-ASCII character in.
Converts a character to uppercase.
Convert a character to upper case. Character-based case conversion is lossy in comparison to string-based toUpper. For instance, ß won't be converted to SS.
Converts a key value to upper case, if applicable.