Mercurial > urweb
view tests/urlifyVariant.ur @ 2160:72fe1cc704c5
Tag NULLs with their types in SQL, to help the DBMS do type inference
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 04 Jul 2015 19:24:26 -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>