CurryInfo: flatcurry-annotated-3.3.0 / FlatCurry.Annotated.Goodies.trRule

definition:
trRule :: (a -> [(VarIndex, a)] -> AExpr a -> b) -> (a -> String -> b)
       -> ARule a -> b
trRule rule _   (ARule     a vs e) = rule a vs e
trRule _    ext (AExternal a    s) = ext a s
demand:
argument 3
deterministic:
deterministic operation
documentation:
--- transform rule
failfree:
(_, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,{ARule}) |-> _ || (_,_,{AExternal}) |-> _}
name:
trRule
precedence:
no precedence defined
result-values:
_
signature:
(a -> [(Prelude.Int, a)] -> FlatCurry.Annotated.Types.AExpr a -> b) -> (a
-> String -> b) -> FlatCurry.Annotated.Types.ARule a -> b
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms