Change type of toCode and fromCode
commit26bcdd201a95eeac20a2751a3890dd85b720eb4e
authorevancz <info@elm-lang.org>
dateSat 23 Mar 2013, 19:30 (14 years ago)
parent0fbc244
libraries/Char.elm+2−2
@@ -31,8 +31,8 @@ toLocaleUpper : Char -> Char
3131toLocaleLower : Char -> Char
3232
3333-- Convert to unicode.
34−toCode : Char -> Int
34+toCode : Char -> KeyCode
3535
3636-- Convert from unicode.
37−fromCode : Int -> Char
37+fromCode : KeyCode -> Char
3838