definition:
|
updBranch :: (APattern a -> APattern a)
-> (AExpr a -> AExpr a)
-> ABranchExpr a -> ABranchExpr a
updBranch fp fe = trBranch branch
where
branch pat exp = ABranch (fp pat) (fe exp)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- update branch expression
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> {trBranch}}
|
name:
|
updBranch
|
precedence:
|
no precedence defined
|
result-values:
|
{trBranch}
|
signature:
|
(FlatCurry.Annotated.Types.APattern a -> FlatCurry.Annotated.Types.APattern a)
-> (FlatCurry.Annotated.Types.AExpr a -> FlatCurry.Annotated.Types.AExpr a)
-> FlatCurry.Annotated.Types.ABranchExpr a
-> FlatCurry.Annotated.Types.ABranchExpr a
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|