view tests/whiteout.ur @ 1319:c17e6144510b

Fix RPC deserialization of channels
author Adam Chlipala <adam@chlipala.net>
date Fri, 19 Nov 2010 17:06:11 -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>