CurryInfo: wui2-3.1.0 / HTML.WUI.wCheckBool

definition: Info
 
wCheckBool :: [HtmlExp] -> WuiSpec Bool
wCheckBool hexps =
  WuiSpec (head, "?", const True)
          (checkLegalInput checkWidget)
          (\wparams -> conditionOf wparams)
          (\env wst -> env (state2cgiRef wst)=="True")
 where
  checkWidget render v = let ref free in
    (render [inline ((if v then checkedBox else checkBox) ref "True" : hexps)],
     cgiRef2state ref)
demand: Info
 no demanded arguments
deterministic: Info
 possibly non-deterministic operation
documentation: Info
 
A widget to select a Boolean value via a check box.
The first argument are HTML expressions that are shown after the
check box.  The result is True if the box is checked.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> {WuiSpec}}
name: Info
 wCheckBool
precedence: Info
 no precedence defined
result-values: Info
 {WuiSpec}
signature: Info
 [HTML.Base.HtmlExp] -> WuiSpec Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term