annotate tests/sleep.ur @ 1171:7a2a7a8f9cab

benignEffectful
author Adam Chlipala <adamc@hcoop.net>
date Sat, 27 Feb 2010 16:49:11 -0500
parents 500e93aa436f
children
rev   line source
adamc@695 1 fun annoyer () =
adamc@695 2 alert "Hi!";
adamc@695 3 sleep 5000;
adamc@695 4 annoyer ()
adamc@695 5
adamc@695 6 fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>
adamc@695 7