Imp.Extra.HsModule
overDecls :: Functor f => ([LHsDecl GhcPs] -> f [LHsDecl GhcPs]) -> HsModule GhcPs -> f (HsModule GhcPs) Source #
overImports :: ([LImportDecl GhcPs] -> [LImportDecl GhcPs]) -> HsModule GhcPs -> HsModule GhcPs Source #