annotate tests/ccheckbox.ur @ 2258:b1ba35ce2613

Fix bug where pure caching didn't treat FFI applications as effectful.
author Ziv Scully <ziv@mit.edu>
date Sun, 27 Sep 2015 17:02:14 -0400
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>