Safe Haskell | None |
---|---|
Language | Haskell2010 |
Retrie.Rewrites.Types
Synopsis
- typeSynonymsToRewrites :: [(FastString, Direction)] -> AnnotatedModule -> IO (UniqFM FastString [Rewrite (LHsType GhcPs)])
- mkTypeRewrite :: Direction -> (LocatedN RdrName, [LHsTyVarBndr (HsBndrVis GhcPs) GhcPs], LHsType GhcPs) -> TransformT IO (Rewrite (LHsType GhcPs))
Documentation
typeSynonymsToRewrites :: [(FastString, Direction)] -> AnnotatedModule -> IO (UniqFM FastString [Rewrite (LHsType GhcPs)]) #