retrie-1.2.2: A powerful, easy-to-use codemodding tool for Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Retrie.Subst

Synopsis

Documentation

subst :: (MonadIO m, Data ast) => Substitution -> Context -> ast -> TransformT m ast Source #

Perform the given Substitution on an AST, avoiding variable capture by alpha-renaming binders as needed.