comparison lib/basis.urs @ 286:ffe5b01908ae

'show' type class; htmlification optimizations
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 10:48:51 -0400
parents e89076c41c39
children 4260ad920c36
comparison
equal deleted inserted replaced
285:e89076c41c39 286:ffe5b01908ae
24 val strcat : string -> string -> string 24 val strcat : string -> string -> string
25 25
26 val intToString : int -> string 26 val intToString : int -> string
27 val floatToString : float -> string 27 val floatToString : float -> string
28 val boolToString : bool -> string 28 val boolToString : bool -> string
29
30 class show
31 val show : t ::: Type -> show t -> t -> string
32 val show_int : show int
33 val show_float : show float
34 val show_string : show string
35 val show_bool : show bool
29 36
30 37
31 (** SQL *) 38 (** SQL *)
32 39
33 con sql_table :: {Type} -> Type 40 con sql_table :: {Type} -> Type