view tests/whiteout.ur @ 1659:8de2ea0a0701

Change linking argument order, based on reported problems in Ubuntu 11.10
author Adam Chlipala <adam@chlipala.net>
date Thu, 05 Jan 2012 19:23:34 -0500
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>