annotate tests/cut.ur @ 1222:117f13bdc1fd

Express all query outputs using record literals
author Adam Chlipala <adamc@hcoop.net>
date Sun, 11 Apr 2010 12:45:15 -0400
parents ae03d09043c1
children
rev   line source
adamc@149 1 val r = {A = 1, B = "Hi", C = 0.0}
adamc@149 2 val rA = r -- #A
adamc@493 3 val rB = r --- [A = _, C = _]
adamc@149 4
adamc@493 5 fun main () : transaction page = return <xml>
adamc@493 6 {cdata rA.B}, {cdata rB.B}
adamc@493 7 </xml>