4{-| Functions for working with characters. Character literals are enclosed in
5`'a'` pair of single quotes.
8@docs isUpper, isLower, isDigit, isOctDigit, isHexDigit
11@docs toUpper, toLower, toLocaleUpper, toLocaleLower, toCode, fromCode
17{-| True for upper case letters. -}
19isUpper = Native.Char.isUpper
21{-| True for lower case letters. -}
23isLower = Native.Char.isLower
25{-| True for ASCII digits `[0-9]`. -}
27isDigit = Native.Char.isDigit
29{-| True for ASCII octal digits `[0-7]`. -}
30isOctDigit : Char -> Bool
31isOctDigit = Native.Char.isOctDigit
33{-| True for ASCII hexadecimal digits `[0-9a-fA-F]`. -}
34isHexDigit : Char -> Bool
35isHexDigit = Native.Char.isHexDigit
37{-| Convert to upper case. -}
39toUpper = Native.Char.toUpper
41{-| Convert to lower case. -}
43toLower = Native.Char.toLower
45{-| Convert to upper case, according to any locale-specific case mappings. -}
46toLocaleUpper : Char -> Char
47toLocaleUpper = Native.Char.toLocaleUpper
49{-| Convert to lower case, according to any locale-specific case mappings. -}
50toLocaleLower : Char -> Char
51toLocaleLower = Native.Char.toLocaleLower
55{-| Convert to unicode. Used with the [`Keyboard`](/docs/Keyboard.elm)
56library, which expects the input to be uppercase. -}
57toCode : Char -> KeyCode
58toCode = Native.Char.toCode
60{-| Convert from unicode. -}
61fromCode : KeyCode -> Char
62fromCode = Native.Char.fromCode
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list