view tests/periodic.ur @ 1524:a71223513c77

Compile self-tail-calls as gotos
author Adam Chlipala <adam@chlipala.net>
date Tue, 02 Aug 2011 17:04:14 -0400
parents 87156c44824f
children
line wrap: on
line source
task periodic 5 = fn () => debug "Every 5 seconds"
task periodic 13 = fn () => debug "Every 13 seconds"

fun main () : transaction page = return <xml/>