view tests/invurl.ur @ 1712:355dc023fbb8

Saving uw_event for all events (so stopPropagation works everywhere)
author Vladimir Shabanov <vshabanoff@gmail.com>
date Wed, 11 Apr 2012 03:05:26 +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>