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

Safe HaskellNone
LanguageHaskell2010

Retrie.CPP

Contents

Synopsis

Documentation

data CPP a Source #

Constructors

NoCPP a 
CPP Text [AnnotatedImports] [a] 
Instances
Functor CPP Source # 
Instance details

Defined in Retrie.CPP

Methods

fmap :: (a -> b) -> CPP a -> CPP b #

(<$) :: a -> CPP b -> CPP a #

Foldable CPP Source # 
Instance details

Defined in Retrie.CPP

Methods

fold :: Monoid m => CPP m -> m #

foldMap :: Monoid m => (a -> m) -> CPP a -> m #

foldr :: (a -> b -> b) -> b -> CPP a -> b #

foldr' :: (a -> b -> b) -> b -> CPP a -> b #

foldl :: (b -> a -> b) -> b -> CPP a -> b #

foldl' :: (b -> a -> b) -> b -> CPP a -> b #

foldr1 :: (a -> a -> a) -> CPP a -> a #

foldl1 :: (a -> a -> a) -> CPP a -> a #

toList :: CPP a -> [a] #

null :: CPP a -> Bool #

length :: CPP a -> Int #

elem :: Eq a => a -> CPP a -> Bool #

maximum :: Ord a => CPP a -> a #

minimum :: Ord a => CPP a -> a #

sum :: Num a => CPP a -> a #

product :: Num a => CPP a -> a #

Traversable CPP Source # 
Instance details

Defined in Retrie.CPP

Methods

traverse :: Applicative f => (a -> f b) -> CPP a -> f (CPP b) #

sequenceA :: Applicative f => CPP (f a) -> f (CPP a) #

mapM :: Monad m => (a -> m b) -> CPP a -> m (CPP b) #

sequence :: Monad m => CPP (m a) -> m (CPP a) #

Internal interface exported for tests