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