annotate tests/league.ur @ 1886:b7cd3c7c7edd

Interpret 'table' signature items more flexibly, automatically adding (Ur) constraints to support a kind of subtyping over (SQL) constraint sets
author Adam Chlipala <adam@chlipala.net>
date Mon, 04 Nov 2013 15:14:23 -0500
parents 5ecf67553da8
children
rev   line source
adam@1714 1 type team = string
adam@1714 2 type league = string
adam@1714 3
adam@1714 4 table team : { Id : team,
adam@1714 5 League : league }
adam@1714 6
adam@1723 7 val foo = queryL(SELECT * FROM team)
adam@1723 8 val bar : int = "hi"