1 2 3 4 5 6 7 8
fun main () = s <- source "DEFAULT"; return <xml><body> <ctextarea rows={2} source={s}/><br/> <br/> <dyn signal={s <- signal s; return (cdata s)}/> </body></xml>