ghc-7.6.3: The GHC API

Safe HaskellNone

TcGenDeriv

Documentation

data FFoldType a Source

Constructors

FT 

Fields

ft_triv :: a
 
ft_var :: a
 
ft_co_var :: a
 
ft_fun :: a -> a -> a
 
ft_tup :: TupleSort -> [a] -> a
 
ft_ty_app :: Type -> a -> a
 
ft_bad_app :: a
 
ft_forall :: TcTyVar -> a -> a
 

functorLikeTraverseSource

Arguments

:: forall a .  
=> TyVar

Variable to look for

-> FFoldType a

How to fold

-> Type

Type to process

-> a 

genAuxBinds :: SrcSpan -> BagDerivStuff -> SeparateBagsDerivStuffSource