view tests/crud.urs @ 325:e457d8972ff1

Crud listing IDs
author Adam Chlipala <adamc@hcoop.net>
date Thu, 11 Sep 2008 17:41:52 -0400
parents
children 950320f33232
line wrap: on
line source
functor Make(M : sig
        con cols :: {Type}
        constraint [Id] ~ cols
        val tab : sql_table ([Id = int] ++ cols)

        val title : string

        val cols : $(mapTT (fn t => {Show : t -> xbody}) cols)
end) : sig
        val main : unit -> transaction page
end