definition: |
updPattern :: ((QName, a) -> (QName, a)) -> ([(VarIndex, a)] -> [(VarIndex, a)]) -> (Literal -> Literal) -> APattern a -> APattern a updPattern fn fa fl = trPattern apattern alpattern where apattern a name args = APattern a (fn name) (fa args) alpattern a l = ALPattern a (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), a) -> ((String, String), a)) -> ([(Prelude.Int, a)] -> [(Prelude.Int, a)]) -> (FlatCurry.Types.Literal -> FlatCurry.Types.Literal) -> 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 |