Mercurial > urweb
view tests/sbind.ur @ 918:6a77c3e33908
Use cdata for shorter Monad map
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 08 Sep 2009 11:02:53 -0400 |
parents | 57018f21cd5c |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> <p>Before</p> <p><dyn signal={s <- return "Bye"; return <xml>{[s]}</xml>}/></p> <p>After</p> </body></xml>