view tests/invurl.ur @ 1785:ffd7ed3bc0b7

Basis.giveFocus
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Jul 2012 11:59:41 -0400
parents 3621f486ce72
children
line wrap: on
line source
val r = { F = fn () => return <xml/> }

fun main () : transaction page = return <xml><body>
  <a link={r.F ()}>Go</a>
</body></xml>

fun main' (r' : {F : unit -> transaction page}) : transaction page = return <xml><body>
  <a link={r'.F ()}>Go</a>
</body></xml>