@@ -1,7 +1,6 @@
1module Prelude.Char
1module Prelude.Char
3import Builtins
3import Builtins
6isUpper : Char -> Bool
5isUpper : Char -> Bool
7isUpper x = x >= 'A' && x <= 'Z'
6isUpper x = x >= 'A' && x <= 'Z'
@@ -38,7 +37,7 @@ toLower x = if (isUpper x)
39isHexDigit : Char -> Bool
38isHexDigit : Char -> Bool
40isHexDigit x = elem (toUpper x) hexChars where
39isHexDigit x = elem (toUpper x) hexChars where
41− hexChars : Vect 16 Char
40+ hexChars : List Char
42 hexChars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
41 hexChars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
43 'A', 'B', 'C', 'D', 'E', 'F']
42 'A', 'B', 'C', 'D', 'E', 'F']