Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Retrie.Rewrites.Function
Documentation
dfnsToRewrites :: LibDir -> [(FastString, Direction)] -> AnnotatedModule -> IO (UniqFM FastString [Rewrite (LHsExpr GhcPs)]) #
getImports :: LibDir -> Direction -> Maybe (LocatedA ModuleName) -> TransformT IO AnnotatedImports #
matchToRewrites :: LHsExpr GhcPs -> AnnotatedImports -> Direction -> LMatch GhcPs (LHsExpr GhcPs) -> TransformT IO [Rewrite (LHsExpr GhcPs)] #