ZVON > References > Haskell reference
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | List | Maybe | >> Char << | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Char
Function: toUpper
Type: Char -> Char
Description: converts a letter to the corresponding upper-case letter, leaving any other character unchanged. Any Unicode letter which has an upper-case equivalent is transformed.
Related:

Example 1

Input: toUpper 'a'

Output: 'A'

Example 2

Input: toUpper 'B'

Output: 'B'

Example 3

Input: toUpper '\n'

Output: '\n'