view tests/random.ur @ 2113:c15f35e507b5

Fix resolution of 'file' paths
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Feb 2015 09:58:20 -0500
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>