definition:
|
updPattern :: (QName -> QName) ->
([Int] -> [Int]) ->
(Literal -> Literal) -> Pattern -> Pattern
updPattern fn fa fl = trPattern pattern lpattern
where
pattern name args = Pattern (fn name) (fa args)
lpattern l = LPattern (fl l)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- update pattern
|
failfree:
|
(_, _, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_) |-> {trPattern}}
|
name:
|
updPattern
|
precedence:
|
no precedence defined
|
result-values:
|
{trPattern}
|
signature:
|
((String, String) -> (String, String)) -> ([Prelude.Int] -> [Prelude.Int])
-> (FlatCurry.Types.Literal -> FlatCurry.Types.Literal)
-> FlatCurry.Types.Pattern -> FlatCurry.Types.Pattern
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|