transformations-0.1.1.0: Generic representation of tree transformations
Generics.Regular.Transformations.RewriteRules
class (Regular a, Rewrite a, Zipper (PF a)) => Transform a Source
type Transformation a = [(Loc a -> Maybe (Loc a), Rule a)]Source
apply :: forall a. Transform a => Transformation a -> a -> Maybe aSource