comparison lib/basis.urs @ 290:df00701f2323

'read' type class
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 11:53:30 -0400
parents 0cc956a3216f
children 6e665c7c96f6
comparison
equal deleted inserted replaced
289:0cc956a3216f 290:df00701f2323
28 val show_int : show int 28 val show_int : show int
29 val show_float : show float 29 val show_float : show float
30 val show_string : show string 30 val show_string : show string
31 val show_bool : show bool 31 val show_bool : show bool
32 32
33 val stringToInt : string -> option int 33 class read
34 val stringToFloat : string -> option float 34 val read : t ::: Type -> read t -> string -> option t
35 val stringToBool : string -> option bool 35 val read_int : read int
36 val read_float : read float
37 val read_string : read string
38 val read_bool : read bool
36 39
37 40
38 (** SQL *) 41 (** SQL *)
39 42
40 con sql_table :: {Type} -> Type 43 con sql_table :: {Type} -> Type