Mercurial > urweb
view tests/urlifyVariant.ur @ 1929:f792a6544093
Add show instance for 'id' type
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Mon, 07 Oct 2013 14:08:10 +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>