Mercurial > urweb
view tests/sleep.ur @ 710:71409a4ccb67
Get demo type-inferring again
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 07 Apr 2009 20:38:01 -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>