CurryInfo: abstract-curry-4.0.0 / AbstractCurry.Transform.updCFuncDecl

definition:
updCFuncDecl :: (String -> String)
             -> (QName -> QName)
             -> (Int -> Int)
             -> (CVisibility -> CVisibility)
             -> (CQualTypeExpr -> CQualTypeExpr)
             -> ([CRule] -> [CRule])
             -> CFuncDecl -> CFuncDecl
updCFuncDecl fc fn fa fv ft fr = trCFuncDecl func
 where 
  func cmt name arity vis t rules =
    if null cmt
    then CFunc (fn name) (fa arity) (fv vis) (ft t) (fr rules)
    else CmtFunc (fc cmt) (fn name) (fa arity) (fv vis) (ft t) (fr rules)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Updates a function declaration.
failfree:
(_, _, _, _, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_,_,_) |-> {trCFuncDecl}}
name:
updCFuncDecl
precedence:
no precedence defined
result-values:
{trCFuncDecl}
signature:
(String -> String) -> ((String, String) -> (String, String)) -> (Prelude.Int
-> Prelude.Int) -> (AbstractCurry.Types.CVisibility
-> AbstractCurry.Types.CVisibility) -> (AbstractCurry.Types.CQualTypeExpr
-> AbstractCurry.Types.CQualTypeExpr) -> ([AbstractCurry.Types.CRule]
-> [AbstractCurry.Types.CRule]) -> AbstractCurry.Types.CFuncDecl
-> AbstractCurry.Types.CFuncDecl
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms