comparison tests/crud.urs @ 346:a94a79820d49

Small clean-ups in crud; Compiler.check
author Adam Chlipala <adamc@hcoop.net>
date Sat, 04 Oct 2008 15:54:03 -0400
parents 389399d65331
children 2205d5cb416a
comparison
equal deleted inserted replaced
345:b85e6ba56618 346:a94a79820d49
4 Widget : nm :: Name -> xml form [] [nm = t_formT.2], 4 Widget : nm :: Name -> xml form [] [nm = t_formT.2],
5 WidgetPopulated : nm :: Name -> t_formT.1 -> xml form [] [nm = t_formT.2], 5 WidgetPopulated : nm :: Name -> t_formT.1 -> xml form [] [nm = t_formT.2],
6 Parse : t_formT.2 -> t_formT.1, 6 Parse : t_formT.2 -> t_formT.1,
7 Inject : sql_injectable t_formT.1 7 Inject : sql_injectable t_formT.1
8 } 8 }
9 con colsMeta = fn cols :: {(Type * Type)} => $(Top.mapT2T colMeta cols) 9 con colsMeta = fn cols :: {(Type * Type)} => $(mapT2T colMeta cols)
10 10
11 functor Make(M : sig 11 functor Make(M : sig
12 con cols :: {(Type * Type)} 12 con cols :: {(Type * Type)}
13 constraint [Id] ~ cols 13 constraint [Id] ~ cols
14 val tab : sql_table ([Id = int] ++ mapT2T fstTT cols) 14 val tab : sql_table ([Id = int] ++ mapT2T fstTT cols)