view tests/whiteout.ur @ 1764:e8c668e518fb

Speed up space eating in MonoOpt
author Vladimir Shabanov <vshabanoff@gmail.com>
date Thu, 17 May 2012 01:41:30 +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>