annotate tests/vlad4.ur @ 2185:cbd294994c69

Monad.mapR3
author Adam Chlipala <adam@chlipala.net>
date Sat, 31 Oct 2015 11:49:30 -0400
parents fe470db7feea
children
rev   line source
adam@1398 1 fun main () : transaction page =
adam@1398 2 s <- source "";
adam@1398 3 return <xml><body>
adam@1398 4 <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/>
adam@1398 5 <dyn signal={s <- signal s; return (txt s)}/>
adam@1398 6 </body></xml>