view tests/whiteout.ur @ 1829:aadfc1a138d8

Removed unused parent() function which conflicts with window.parent.
author Vladimir Shabanov <vshabanoff@gmail.com>
date Mon, 22 Oct 2012 01:49:22 +0400
parents f0224c7f12bb
children
line wrap: on
line source
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>