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 # 

Methods

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

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

toConstr :: PlaceHolder -> Constr Source #

dataTypeOf :: PlaceHolder -> DataType Source #

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

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

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

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

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

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

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

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

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

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

type family PostTc id ty Source #

Types that are not defined until after type checking

Instances

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

type family PostRn id ty Source #

Types that are not defined until after renaming

Instances

type PostRn Name ty # 
type PostRn Name ty = ty
type PostRn RdrName ty # 
type PostRn Id ty # 
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