annotate demo/batchG.ur @ 1431:4a6f84092399

Represent 'unit' as C 'int'; change pattern match compilation to avoid 'goto'; change Postgres prepared statement compilation to make life easier for the GCC escape analysis; all this in support of better tail call optimization
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Mar 2011 18:51:15 -0500
parents a44daa674810
children
rev   line source
adamc@650 1 table t : {Id : int, A : string, B : float}
adamc@708 2 PRIMARY KEY Id
adamc@650 3
adamc@782 4 open BatchFun.Make(struct
adamc@782 5 val tab = t
adamc@782 6 val title = "BatchG"
adamc@782 7 val cols = {A = BatchFun.string "A",
adamc@782 8 B = BatchFun.float "B"}
adamc@782 9 end)