view tests/sleep.ur @ 881:45a63416adb4

Fix dependency misordering
author Adam Chlipala <adamc@hcoop.net>
date Fri, 17 Jul 2009 12:34:00 -0400
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>