view tests/with.ur @ 585:35471f067980

Reactive record pattern
author Adam Chlipala <adamc@hcoop.net>
date Thu, 01 Jan 2009 11:04:09 -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>