Mercurial > urweb
annotate tests/where.lac @ 218:a3413288cce1
Signature ascription for type classes
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 16 Aug 2008 16:57:21 -0400 |
parents | f4033abd6ab1 |
children | 5292c0113024 |
rev | line source |
---|---|
adamc@209 | 1 table t1 : {A : int, B : string, C : float} |
adamc@209 | 2 table t2 : {A : float, D : int} |
adamc@209 | 3 |
adamc@209 | 4 val q1 = (SELECT * FROM t1) |
adamc@209 | 5 val q2 = (SELECT * FROM t1 WHERE TRUE) |
adamc@209 | 6 val q3 = (SELECT * FROM t1 WHERE FALSE) |
adamc@210 | 7 val q4 = (SELECT * FROM t1 WHERE {True}) |