Mercurial > urweb
view tests/urlifyVariant.ur @ 2193:1d6e7e3405f6
New release
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 22 Nov 2015 10:09:16 -0500 |
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>