annotate tests/sleep.ur @ 1991:7db8356caef5

Tweaked parameter renaming for functors, so now demos and the original bug-triggering application work
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Feb 2014 15:50:33 -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