on master help sign in
Correct types (Int back to KeyCode)
602117fEvan Czaplicki
libraries/Char.elm+2−2
@@ -42,9 +42,9 @@ toLocaleLower = Native.toLocaleLower
42type KeyCode = Int
42type KeyCode = Int
43
43
44-- Convert to unicode.
44-- Convert to unicode.
45−toCode : Char -> Int
45+toCode : Char -> KeyCode
46toCode = Native.toCode
46toCode = Native.toCode
47
47
48-- Convert from unicode.
48-- Convert from unicode.
49−fromCode : Int -> Char
49+fromCode : KeyCode -> Char
50fromCode = Native.fromCode
50fromCode = Native.fromCode