view tests/sleep.ur @ 1400:c57414e39321

Updating documentation in preparation for a release
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 12:06:38 -0500
parents 500e93aa436f
children
line wrap: on
line source
fun annoyer () =
    alert "Hi!";
    sleep 5000;
    annoyer ()

fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>