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

Retrie.Rewrites.Types

Synopsis

Documentation

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

Compile a list of RULES into a list of rewrites.