view tests/league.ur @ 2009:799be3911ce3

Monadic bind supports patterns
author Adam Chlipala <adam@chlipala.net>
date Fri, 02 May 2014 17:16:02 -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"