CurryInfo: flatcurry-4.0.0 / FlatCurry.Goodies.updFunc

definition:
updFunc :: (QName -> QName) ->
           (Int -> Int) ->
           (Visibility -> Visibility) ->
           (TypeExpr -> TypeExpr) ->
           (Rule -> Rule)             -> FuncDecl -> FuncDecl
updFunc fn fa fv ft fr = trFunc func
 where
  func name arity vis t rule
    = Func (fn name) (fa arity) (fv vis) (ft t) (fr rule)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- update function
failfree:
(_, _, _, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_,_) |-> {trFunc}}
name:
updFunc
precedence:
no precedence defined
result-values:
{trFunc}
signature:
((String, String) -> (String, String)) -> (Prelude.Int -> Prelude.Int)
-> (FlatCurry.Types.Visibility -> FlatCurry.Types.Visibility)
-> (FlatCurry.Types.TypeExpr -> FlatCurry.Types.TypeExpr)
-> (FlatCurry.Types.Rule -> FlatCurry.Types.Rule) -> FlatCurry.Types.FuncDecl
-> FlatCurry.Types.FuncDecl
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms