comparison tests/limit.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/limit.lac@a338da9d82f3
children a6cb33f49366
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 table t : {A : int, B : string, C : float}
2
3 val q1 = (SELECT * FROM t LIMIT 42)
4 val q2 = fn n => (SELECT * FROM t LIMIT {n})
5
6 val q3 = (SELECT * FROM t OFFSET 3)
7 val q4 = fn n => fn m => (SELECT * FROM t LIMIT {n} OFFSET {m})