annotate tests/random.ur @ 1969:f463c773ed6a

Use neverInline in reduce
author Adam Chlipala <adam@chlipala.net>
date Sat, 15 Feb 2014 10:06:18 -0500
parents ac141fbb313a
children
rev   line source
adam@1682 1 table t : { A : int }
adam@1682 2
adam@1682 3 fun main () : transaction page =
adam@1682 4 x <- queryX (SELECT *
adam@1682 5 FROM t
adam@1682 6 ORDER BY RANDOM)
adam@1682 7 (fn r => <xml>{[r.T.A]}<br/></xml>);
adam@1682 8 return <xml><body>{x}</body></xml>