Mercurial > urweb
view tests/whiteout.ur @ 1418:22674ac8ebe6
Proper error handling for periodic tasks
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 23 Jan 2011 18:16:30 -0500 |
parents | f0224c7f12bb |
children |
line wrap: on
line source
table t : { Chan : option (channel unit) } fun main () : transaction page = ch <- channel; dml (INSERT INTO t (Chan) VALUES ({[Some ch]})); return <xml><body>Did it.</body></xml>