view tests/sleep.ur @ 942:280f81731426

Escape character constants; lift indices properly in Reduce 'case' simplification
author Adam Chlipala <adamc@hcoop.net>
date Tue, 15 Sep 2009 12:41:54 -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>