From 778b73af8cd74791c5d2f8cc520d82e3b4e1f5de Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 8 Dec 2009 10:46:50 -0500 Subject: Context globals; ctype functions --- lib/ur/char.urs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lib/ur/char.urs (limited to 'lib/ur/char.urs') diff --git a/lib/ur/char.urs b/lib/ur/char.urs new file mode 100644 index 00000000..02e55632 --- /dev/null +++ b/lib/ur/char.urs @@ -0,0 +1,16 @@ +type t = char + +val isAlnum : t -> bool +val isAlpha : t -> bool +val isBlank : t -> bool +val isCntrl : t -> bool +val isDigit : t -> bool +val isGraph : t -> bool +val isLower : t -> bool +val isPrint : t -> bool +val isPunct : t -> bool +val isSpace : t -> bool +val isUpper : t -> bool +val isXdigit : t -> bool +val toLower : t -> t +val toUpper : t -> t -- cgit v1.2.3