CurryInfo: wui2-3.1.0 / HTML.WUI.wConstant

definition:
wConstant :: (Read a, Show a) => (a -> HtmlExp) -> WuiSpec a
wConstant showhtml =
  WuiSpec (head, "?", const True)
          (\wparams _ v -> ((renderOf wparams) [showhtml v], value2state v))
          (\_ _ -> True)
          (\_ wst -> state2value wst)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- A widget for values that are shown but cannot be modified.
--- The first argument is a mapping of the value into a HTML expression
--- to show this value.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_) |-> {WuiSpec}}
name:
wConstant
precedence:
no precedence defined
result-values:
{WuiSpec}
signature:
(Prelude.Read a, Prelude.Show a) => (a -> HTML.Base.HtmlExp) -> WuiSpec a
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term