view tests/urlifyVariant.ur @ 2164:728aaeea12fd

Add a simple 'make test' target
author Adam Chlipala <adam@chlipala.net>
date Wed, 29 Jul 2015 10:08:03 -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>