comparison tests/crud.urs @ 329:eec65c11d3e2

foldTR2
author Adam Chlipala <adamc@hcoop.net>
date Sat, 13 Sep 2008 10:30:45 -0400
parents 950320f33232
children 34847732cefc
comparison
equal deleted inserted replaced
328:58f1260f293f 329:eec65c11d3e2
1 con colMeta = fn cols :: {Type} => $(mapTT (fn t => {Show : t -> xbody}) cols) 1 con colMeta' = fn t :: Type => {Show : t -> xbody}
2 con colMeta = fn cols :: {Type} => $(Top.mapTT colMeta' cols)
2 3
3 functor Make(M : sig 4 functor Make(M : sig
4 con cols :: {Type} 5 con cols :: {Type}
5 constraint [Id] ~ cols 6 constraint [Id] ~ cols
6 val tab : sql_table ([Id = int] ++ cols) 7 val tab : sql_table ([Id = int] ++ cols)