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>