CurryInfo: wui2-3.1.0 / HTML.WUI.wRadioBool

definition:
wRadioBool :: [HtmlExp] -> [HtmlExp] -> WuiSpec Bool
wRadioBool truehexps falsehexps =
  wRadioSelect (\b -> if b then truehexps else falsehexps) [True,False]
demand:
no demanded arguments
deterministic:
possibly non-deterministic operation
documentation:
--- A widget to select a Boolean value via a radio button.
--- The arguments are the lists of HTML expressions that are shown after
--- the True and False radio buttons, respectively.
--- @param true - HTML expressions for True radio button
--- @param false - HTML expressions for False radio button
--- @return a WUI specification for a Boolean selection widget
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> {WuiSpec}}
name:
wRadioBool
precedence:
no precedence defined
result-values:
{WuiSpec}
signature:
[HTML.Base.HtmlExp] -> [HTML.Base.HtmlExp] -> WuiSpec Prelude.Bool
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term