view demo/link.ur @ 1288:fc7ecf8883b1

Some post-type-checking support for polymorphic variants
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Aug 2010 10:58:13 -0400
parents 6a0e54400805
children
line wrap: on
line source
fun target () = return <xml><body>
  Welcome!
</body></xml>

fun main () = return <xml><body>
  <a link={target ()}>Go there</a>
</body></xml>