Mercurial > urweb
view tests/random.ur @ 1701:6a4461757829
Remove weird special case for FFI functions whose first arguments have type [unit]
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 14 Mar 2012 09:06:23 -0400 |
parents | ac141fbb313a |
children |
line wrap: on
line source
table t : { A : int } fun main () : transaction page = x <- queryX (SELECT * FROM t ORDER BY RANDOM) (fn r => <xml>{[r.T.A]}<br/></xml>); return <xml><body>{x}</body></xml>