Mercurial > urweb
view tests/urlifyVariant.ur @ 1945:8b1692660dac
How embarrassing; didn't try compiling before committing
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 28 Dec 2013 06:30:21 -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>