annotate demo/batchG.ur @ 731:e0dd85ea58e1

Label exported symbols by effect-ness; factor out some common datatypes
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Apr 2009 14:49:25 -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)