Mercurial > urweb
view demo/batchG.ur @ 1782:61c7eb1d3867
Support fancy expressions in module-level 'val' declarations
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 18 Jul 2012 17:29:13 -0400 |
parents | a44daa674810 |
children |
line wrap: on
line source
table t : {Id : int, A : string, B : float} PRIMARY KEY Id open BatchFun.Make(struct val tab = t val title = "BatchG" val cols = {A = BatchFun.string "A", B = BatchFun.float "B"} end)