view tests/sleep.ur @ 772:8ed1261f838c

Update FFI type of Basis.self
author Adam Chlipala <adamc@hcoop.net>
date Sat, 02 May 2009 18:46: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>