view tests/cut.ur @ 495:98f85c1bc867

Fix type calculation for applying-a-case optimization
author Adam Chlipala <adamc@hcoop.net>
date Tue, 11 Nov 2008 20:24:55 -0500
parents ae03d09043c1
children
line wrap: on
line source
val r = {A = 1, B = "Hi", C = 0.0}
val rA = r -- #A
val rB = r --- [A = _, C = _]

fun main () : transaction page = return <xml>
        {cdata rA.B}, {cdata rB.B}
</xml>