retrie-1.2.3: A powerful, easy-to-use codemodding tool for Haskell.
Safe HaskellNone
LanguageHaskell2010

Retrie.Rewrites.Types

Synopsis

Documentation

mkTypeRewrite :: Direction -> (LocatedN RdrName, [LHsTyVarBndr (HsBndrVis GhcPs) GhcPs], LHsType GhcPs) -> TransformT IO (Rewrite (LHsType GhcPs)) #

Compile a list of RULES into a list of rewrites.