summaryrefslogtreecommitdiff
path: root/tests/whiteout.ur
blob: 5fb9d57b0f51f56fb40300eae4092536609cd486 (plain)
1
2
3
4
5
6
table t : { Chan : option (channel unit) }

fun main () : transaction page =
    ch <- channel;
    dml (INSERT INTO t (Chan) VALUES ({[Some ch]}));
    return <xml><body>Did it.</body></xml>