view tests/league.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 5ecf67553da8
children
line wrap: on
line source
type team = string
type league = string

table team : { Id : team,
               League : league }

val foo = queryL(SELECT * FROM team)
val bar : int = "hi"