view tests/ccheckbox.ur @ 1611:217384f4b8ea

Tweak error message about Basis.get to use that name instead of internal name
author Adam Chlipala <adam@chlipala.net>
date Thu, 24 Nov 2011 11:56:05 -0500
parents 37f5a23446b2
children
line wrap: on
line source
fun main () : transaction page =
    s <- source True;
    t <- source 1;
    return <xml><body><ccheckbox source={s} onclick={set t 3}/>
      <dyn signal={s <- signal s;
                   t <- signal t;
                   return <xml>{[s]} {[t]}</xml>}/>
    </body></xml>