on master help sign in
Change type of toCode and fromCode
26bcdd2evancz
libraries/Char.elm+2−2
@@ -31,8 +31,8 @@ toLocaleUpper : Char -> Char
31toLocaleLower : Char -> Char
31toLocaleLower : Char -> Char
32
32
33-- Convert to unicode.
33-- Convert to unicode.
34−toCode : Char -> Int
34+toCode : Char -> KeyCode
35
35
36-- Convert from unicode.
36-- Convert from unicode.
37−fromCode : Int -> Char
37+fromCode : KeyCode -> Char
38
38