view tests/rewrite.ur @ 1045:36efaf119b85

Refactor compile functions; allow empty tag contents
author Adam Chlipala <adamc@hcoop.net>
date Wed, 25 Nov 2009 08:52:32 -0500
parents 3b7e46790fa7
children
line wrap: on
line source
table t : { A : int }

fun other () = return <xml><body>
  Other
</body></xml>

fun main () = return <xml><body>
  <a link={other ()}>Hi!</a>
</body></xml>