annotate tests/random.ur @ 1908:ab1a3737b306

make clean: Clean bin/mlton, src/urweb.mlton.lex, src/urweb.mlton.grm Signed-off-by: Anders Kaseorg <andersk@mit.edu> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
author Anders Kaseorg <andersk@mit.edu>
date Fri, 22 Nov 2013 09:36:14 -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>