Mercurial > urweb
view tests/whiteout.ur @ 1435:740e167cd4eb
Add a cast to avoid warnings about toupper() on some platforms
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 12 Mar 2011 14:20:29 -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>