transformations-0.1.1.0: Generic representation of tree transformations

Safe HaskellNone

Generics.Regular.Transformations.RewriteRules

Documentation

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