Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class GoodOperationFor c b => ClassyPlate c b
- class GoodOperationForAuto c b => SmartClassyPlate c (sel :: Bool) b
- module Data.Generics.ClassyPlate.Common
- module Data.Generics.ClassyPlate.TypePrune
Documentation
class GoodOperationFor c b => ClassyPlate c b Source #
A class for traversals that use a polymorphic function to visit all applicable elements.
class GoodOperationForAuto c b => SmartClassyPlate c (sel :: Bool) b Source #
A class for traversals that use a polymorphic function to visit all applicable elements but only visit the parts where the applicable elements could be found.
Instances
GoodOperationForAuto c b => SmartClassyPlate c True b Source # | |
Defined in Data.Generics.ClassyPlate.Core smartTraverse_ :: FlagToken True -> ClsToken c -> (forall a. (ClassyPlate c a, c a) => a -> a) -> b -> b Source # smartTraverseM_ :: Monad m => FlagToken True -> ClsToken c -> (forall a. (ClassyPlate c a, c a) => a -> m a) -> b -> m b Source # |