Mercurial > urweb
view tests/sleep.ur @ 1513:5616b2cbdcdb
Tutorial: hyperlinks for metaprogramming and row types
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 20 Jul 2011 08:14:49 -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>