CurryInfo: flatcurry-4.0.0 / FlatCurry.Goodies.rnmAllVars

definition:
rnmAllVars :: Update Expr Int
rnmAllVars f = trExpr (Var . f) Lit Comb lt (Free . map f) Or Case branch Typed
 where
   lt = Let . map (\ (n,exp) -> (f n,exp))
   branch = Branch . updPatArgs (map f)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- rename all variables (also in patterns) in expression
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {trExpr}}
name:
rnmAllVars
precedence:
no precedence defined
result-values:
{trExpr}
signature:
(Prelude.Int -> Prelude.Int) -> FlatCurry.Types.Expr -> FlatCurry.Types.Expr
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms