Mercurial > urweb
view tests/crud.urs @ 334:9601c717d2f3
queryX
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 13 Sep 2008 19:49:53 -0400 |
parents | eec65c11d3e2 |
children | 34847732cefc |
line wrap: on
line source
con colMeta' = fn t :: Type => {Show : t -> xbody} con colMeta = fn cols :: {Type} => $(Top.mapTT colMeta' cols) functor Make(M : sig con cols :: {Type} constraint [Id] ~ cols val tab : sql_table ([Id = int] ++ cols) val title : string val cols : colMeta cols end) : sig val main : unit -> transaction page end