HaRe-0.8.4.0: the Haskell Refactorer.
Language.Haskell.Refact.Utils.Transform
addSimpleImportDecl :: String -> RefactGhc () Source #
wrapInLambda :: String -> LPat RdrName -> ParsedGRHSs -> RefactGhc (LHsExpr RdrName) Source #
wrapInPars :: LHsExpr RdrName -> RefactGhc (LHsExpr RdrName) Source #
wrapInParsWithDPs :: DeltaPos -> DeltaPos -> LHsExpr RdrName -> RefactGhc (LHsExpr RdrName) Source #
addNewLines :: Data a => Int -> Located a -> RefactGhc () Source #
locate :: Data a => a -> RefactGhc (Located a) Source #
removePars :: ParsedLExpr -> RefactGhc ParsedLExpr Source #