view demo/rec.ur @ 1782:61c7eb1d3867

Support fancy expressions in module-level 'val' declarations
author Adam Chlipala <adam@chlipala.net>
date Wed, 18 Jul 2012 17:29:13 -0400
parents 345fcf91c806
children
line wrap: on
line source
fun main () = return <xml><body>
  <a link={other ()}>Go to the other one!</a>
</body></xml>

and other () = return <xml><body>
  <a link={main ()}>Return to <tt>main</tt>!</a>
</body></xml>