view demo/link.ur @ 656:3be5e6f01c32

Revise type inference section
author Adam Chlipala <adamc@hcoop.net>
date Thu, 12 Mar 2009 11:27:23 -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>