view tests/with.ur @ 805:e2780d2f4afc

Mutual datatypes through Elaborate
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 May 2009 15:14:17 -0400
parents 075b36dbb1a4
children
line wrap: on
line source
val r = ({A = 1, B = 2} with #C = "Hi") with #D = "Bye"

fun main () : transaction page = return <html><body>
        {cdata r.C}, {cdata r.D}
</body></html>