Mercurial > urweb
view tests/random.ur @ 1734:d2b3fada532e
Fix generation of normal datatypes from polymorphic variants
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 29 Apr 2012 20:37:45 -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>