definition:
|
updPatCons :: (QName -> QName) -> APattern a -> APattern a
updPatCons f = updPattern (\(n,a) -> (f n, a)) id id
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- update constructors name of pattern
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> {trPattern}}
|
name:
|
updPatCons
|
precedence:
|
no precedence defined
|
result-values:
|
{trPattern}
|
signature:
|
((String, String) -> (String, String)) -> FlatCurry.Annotated.Types.APattern a
-> FlatCurry.Annotated.Types.APattern a
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|