view tests/urlifyVariant.ur @ 1954:1802eb00a0ae

MySQL: catch deadlocks during queries
author Adam Chlipala <adam@chlipala.net>
date Sun, 05 Jan 2014 20:20:09 -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>