annotate demo/batchG.ur @ 723:311ca1ae715d

Simplify type class requirement for tree demo
author Adam Chlipala <adamc@hcoop.net>
date Mon, 13 Apr 2009 08:44:32 -0400
parents 1a317a707d71
children 15ddd64a5113
rev   line source
adamc@650 1 table t : {Id : int, A : string, B : float}
adamc@708 2 PRIMARY KEY Id
adamc@650 3
adamc@650 4 open BatchFun.Make(struct
adamc@650 5 val tab = t
adamc@650 6 val title = "BatchG"
adamc@650 7 val cols = {A = BatchFun.string "A",
adamc@650 8 B = BatchFun.float "B"}
adamc@650 9 end)