diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-12 16:09:13 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-12 16:09:13 -0500 |
commit | 227c87323603dc0b338e89997d2fce7ffc755fb0 (patch) | |
tree | e4130a31cf93875c66cb452ebcf893a4d2254f25 /lib/ur/char.urs | |
parent | 8eab6ba5a16002cd6e5ddfb6a09cb23b351c9d32 (diff) |
Allow escaped backslashes in literals; conversion betwixt int and char
Diffstat (limited to 'lib/ur/char.urs')
-rw-r--r-- | lib/ur/char.urs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/char.urs b/lib/ur/char.urs index 02e55632..c185af92 100644 --- a/lib/ur/char.urs +++ b/lib/ur/char.urs @@ -14,3 +14,6 @@ val isUpper : t -> bool val isXdigit : t -> bool val toLower : t -> t val toUpper : t -> t + +val toInt : t -> int +val fromInt : int -> t |