view tests/sleep.ur @ 1354:1b286f2309bc

Fix manual mistake about '@' notations; remove obsolete demos
author Adam Chlipala <adam@chlipala.net>
date Mon, 20 Dec 2010 19:28:41 -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>