view demo/link.ur @ 2254:44ae2254f8fb

Factor out urlification.
author Ziv Scully <ziv@mit.edu>
date Mon, 21 Sep 2015 16:07:35 -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>