Mercurial > urweb
view tests/cut.ur @ 564:803b2f3bb86b
Monad type class seems to be working
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Fri, 19 Dec 2008 10:27:58 -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>