Mercurial > urweb
view tests/crud.urs @ 337:18d5affa790d
Deletion for Crud
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 13 Sep 2008 20:15:30 -0400 |
parents | 34847732cefc |
children | 075b36dbb1a4 |
line wrap: on
line source
con colMeta' = fn t :: Type => {Nam : string, 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