CurryInfo: wui2-3.1.0 / HTML.WUI.adaptWSpec

definition:
adaptWSpec :: (Data a, Data b) => (a -> b) -> WuiSpec a -> WuiSpec b
adaptWSpec a2b = transformWSpec (a2b, invf1 a2b)
demand:
no demanded arguments
deterministic:
possibly non-deterministic operation
documentation:
--- Adapt a WUI specification to a new type. For this purpose,
--- the first argument must be a transformation mapping values
--- from the old type to the new type. This function must be bijective
--- and operationally invertible (i.e., the inverse must be computable
--- by narrowing). Otherwise, use `transformWSpec`!
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_) |-> {transformWSpec}}
name:
adaptWSpec
precedence:
no precedence defined
result-values:
{transformWSpec}
signature:
(Prelude.Data a, Prelude.Data b) => (a -> b) -> WuiSpec a -> WuiSpec b
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term