view tests/urlifyVariant.ur @ 1829:aadfc1a138d8

Removed unused parent() function which conflicts with window.parent.
author Vladimir Shabanov <vshabanoff@gmail.com>
date Mon, 22 Oct 2012 01:49:22 +0400
parents 02533f681ad2
children
line wrap: on
line source
datatype t = T of variant [A = t]

fun main (x : t) : transaction page = return <xml><body>
  <a link={main x}>Go</a>
</body></xml>