annotate 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
rev   line source
adamc@329 1 con colMeta' = fn t :: Type => {Show : t -> xbody}
adamc@329 2 con colMeta = fn cols :: {Type} => $(Top.mapTT colMeta' cols)
adamc@326 3
adamc@325 4 functor Make(M : sig
adamc@325 5 con cols :: {Type}
adamc@325 6 constraint [Id] ~ cols
adamc@325 7 val tab : sql_table ([Id = int] ++ cols)
adamc@325 8
adamc@325 9 val title : string
adamc@325 10
adamc@326 11 val cols : colMeta cols
adamc@325 12 end) : sig
adamc@325 13 val main : unit -> transaction page
adamc@325 14 end