Mercurial > urweb
view tests/random.ur @ 2019:79a2f3468e46
Return to working version mode
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 31 May 2014 16:57:52 -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>