Mercurial > urweb
view tests/setActive.ur @ 2083:9f65e2188d3c
MonoOpt: remove concatenation with empty string
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 03 Dec 2014 21:21:37 -0500 |
parents | 3d823d8424cc |
children |
line wrap: on
line source
fun main () : transaction page = i <- fresh; x <- source <xml/>; return <xml> <body> <dyn signal={signal x} /> <active code={set x <xml><ctextbox/><ctextbox id={i}/><ctextbox/><active code={giveFocus i; return <xml/>}/></xml>; return <xml/>}/> </body> </xml>