Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- typeSynonymsToRewrites :: [(FastString, Direction)] -> AnnotatedModule -> IO (UniqFM [Rewrite (LHsType GhcPs)])
- mkTypeRewrite :: Direction -> (Located RdrName, [LHsTyVarBndr GhcPs], LHsType GhcPs) -> TransformT IO (Rewrite (LHsType GhcPs))
Documentation
typeSynonymsToRewrites :: [(FastString, Direction)] -> AnnotatedModule -> IO (UniqFM [Rewrite (LHsType GhcPs)]) Source #
mkTypeRewrite :: Direction -> (Located RdrName, [LHsTyVarBndr GhcPs], LHsType GhcPs) -> TransformT IO (Rewrite (LHsType GhcPs)) Source #
Compile a list of RULES into a list of rewrites.