view lib/ur/char.urs @ 1881:a5b08bdfa450

New header file scheme to support FFI code in either of C or C++ [based on suggestion by Ron de Bruijn]
author Adam Chlipala <adam@chlipala.net>
date Fri, 11 Oct 2013 17:15:28 -0400
parents e1cf925e2074
children
line wrap: on
line source
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

val toInt : t -> int
val fromInt : int -> t