|
definition: |
renameSymbolInLocal :: (QName -> QName) -> LocalDecl -> LocalDecl
renameSymbolInLocal ren local = case local of
LocalFunc fdecl -> LocalFunc (renameSymbolInFunc ren fdecl)
LocalPat pat e locals -> LocalPat (renameSymbolInPat ren pat)
(renameSymbolInExpr ren e)
(map (renameSymbolInLocal ren) locals)
|
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{LocalFunc}) |-> {LocalFunc} || (_,{LocalPat}) |-> {LocalPat}}
|
|
name: |
renameSymbolInLocal |
|
precedence: |
no precedence defined |
|
result-values: |
{LocalFunc,LocalPat}
|
|
signature: |
((String, String) -> (String, String)) -> AbstractHaskell.Types.LocalDecl -> AbstractHaskell.Types.LocalDecl |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |