ghc-8.2.1: The GHC API

Safe HaskellNone
LanguageHaskell2010

PlaceHolder

Synopsis

Documentation

data PlaceHolder Source #

used as place holder in PostTc and PostRn values

Constructors

PlaceHolder 

Instances

Data PlaceHolder Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PlaceHolder -> c PlaceHolder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PlaceHolder #

toConstr :: PlaceHolder -> Constr #

dataTypeOf :: PlaceHolder -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PlaceHolder) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PlaceHolder) #

gmapT :: (forall b. Data b => b -> b) -> PlaceHolder -> PlaceHolder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PlaceHolder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PlaceHolder -> r #

gmapQ :: (forall d. Data d => d -> u) -> PlaceHolder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PlaceHolder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PlaceHolder -> m PlaceHolder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PlaceHolder -> m PlaceHolder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PlaceHolder -> m PlaceHolder #

type family PostTc id ty Source #

Types that are not defined until after type checking

Instances

type PostTc Name ty Source # 
type PostTc RdrName ty Source # 
type PostTc Id ty Source # 
type PostTc Id ty = ty

type family PostRn id ty Source #

Types that are not defined until after renaming

Instances

type PostRn Name ty Source # 
type PostRn Name ty = ty
type PostRn RdrName ty Source # 
type PostRn Id ty Source # 
type PostRn Id ty = ty

type family NameOrRdrName id where ... Source #

Follow the id, but never beyond Name. This is used in a HsMatchContext, for printing messages related to a Match

type OutputableBndrId id = (OutputableBndr id, OutputableBndr (NameOrRdrName id)) Source #

Constraint type to bundle up the requirement for OutputableBndr on both the id and the NameOrRdrName type for it