retrie-0.1.1.1: A powerful, easy-to-use codemodding tool for Haskell.

Safe HaskellNone
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.