ghc-7.2.1: The GHC API

TcGenDeriv

Documentation

type DerivAuxBinds = [DerivAuxBind]

isDupAux :: DerivAuxBind -> DerivAuxBind -> Bool

data FFoldType a

Constructors

FT 

Fields

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

functorLikeTraverse

Arguments

:: TyVar

Variable to look for

-> FFoldType a

How to fold

-> Type

Type to process

-> a 

genAuxBind :: SrcSpan -> DerivAuxBind -> (LHsBind RdrName, LSig RdrName)