annotate tests/cut.ur @ 829:20fe00fd81da

Substring functions; fix a nasty MonoReduce pattern match substitution bug
author Adam Chlipala <adamc@hcoop.net>
date Sat, 30 May 2009 13:29:00 -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>