CurryInfo: abstract-haskell-3.0.0 / AbstractHaskell.Goodies.renameSymbolInProg

definition: Info
 
renameSymbolInProg :: (QName -> QName) -> Prog -> Prog
renameSymbolInProg ren (Prog name imports typedecls fundecls opdecls) =
  Prog
    (fst (ren (name, "")))
    (map (\mod -> fst $ ren (mod, "")) imports)
    (map (renameSymbolInTypeDecl ren) typedecls)
    (map (renameSymbolInFunc ren) fundecls)
    (map (renameOpDecl ren) opdecls)
demand: Info
 argument 2
deterministic: Info
 deterministic operation
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{Prog}) |-> {Prog}}
name: Info
 renameSymbolInProg
precedence: Info
 no precedence defined
result-values: Info
 {Prog}
signature: Info
 ((String, String) -> (String, String)) -> AbstractHaskell.Types.Prog
-> AbstractHaskell.Types.Prog
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms