annotate tests/ccheckbox.ur @ 1907:cb57ba73a61d

make uninstall: Uninstall types_cpp.h, urweb_cpp.h Signed-off-by: Anders Kaseorg <andersk@mit.edu> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
author Anders Kaseorg <andersk@mit.edu>
date Fri, 22 Nov 2013 09:36:14 -0500
parents 37f5a23446b2
children
rev   line source
adam@1610 1 fun main () : transaction page =
adam@1610 2 s <- source True;
adam@1610 3 t <- source 1;
adam@1610 4 return <xml><body><ccheckbox source={s} onclick={set t 3}/>
adam@1610 5 <dyn signal={s <- signal s;
adam@1610 6 t <- signal t;
adam@1610 7 return <xml>{[s]} {[t]}</xml>}/>
adam@1610 8 </body></xml>