diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 11:53:30 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 11:53:30 -0400 |
commit | f8d1a7fcf13f655200be366733c24233b5df7f9a (patch) | |
tree | d2b1505cfdcef966f5410d29930821ab39fa1818 /lib/basis.urs | |
parent | 9ae8932c978ab9c12f683745b47b3e0898581635 (diff) |
'read' type class
Diffstat (limited to 'lib/basis.urs')
-rw-r--r-- | lib/basis.urs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/basis.urs b/lib/basis.urs index 4275e195..b2f3122d 100644 --- a/lib/basis.urs +++ b/lib/basis.urs @@ -30,9 +30,12 @@ val show_float : show float val show_string : show string val show_bool : show bool -val stringToInt : string -> option int -val stringToFloat : string -> option float -val stringToBool : string -> option bool +class read +val read : t ::: Type -> read t -> string -> option t +val read_int : read int +val read_float : read float +val read_string : read string +val read_bool : read bool (** SQL *) |