view tests/with.ur @ 626:230654093b51

demo/hello compiles with kind polymorphism
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Feb 2009 17:17:01 -0500
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>