view tests/selfRpc.ur @ 2262:34ad83d9b729

Fix recording bugs to do with nesting and buffer reallocation. Stop MonoFooify printing spurious errors.
author Ziv Scully <ziv@mit.edu>
date Wed, 07 Oct 2015 08:58:08 -0400
parents 385a1b799a74
children
line wrap: on
line source
fun test () =
    k <- source <xml/>;
    return <xml><button onclick={r <- rpc (test ()); set k r}/></xml>

fun main () : transaction page =
    h <- test ();
    return <xml><body>{h}</body></xml>