ghc-7.0.4: The GHC API

TcHsSyn

# Documentation

mkHsConApp :: DataCon -> [Type] -> [HsExpr Id] -> LHsExpr Id Source

mkHsDictLet :: TcEvBinds -> LHsExpr Id -> LHsExpr Id Source

mkHsApp :: LHsExpr name -> LHsExpr name -> LHsExpr nameSource

hsLitType :: HsLit -> TcType Source

hsLPatType :: OutPat Id -> Type Source

hsPatType :: Pat Id -> Type Source

mkHsAppTy :: LHsType name -> LHsType name -> LHsType nameSource

mkSimpleHsAlt :: LPat id -> LHsExpr id -> LMatch idSource

nlHsIntLit :: Integer -> LHsExpr idSource

shortCutLit :: OverLitVal -> TcType -> Maybe (HsExpr TcId)Source

hsOverLitName :: OverLitVal -> Name Source

type TcId = Id Source

type TcIdSet = IdSet Source

zonkTopDecls :: Bag EvBind -> LHsBinds TcId -> NameSet -> [LRuleDecl TcId] -> [LTcSpecPrag] -> [LForeignDecl TcId] -> TcM ([Id], Bag EvBind, Bag (LHsBind Id), [LForeignDecl Id], [LTcSpecPrag], [LRuleDecl Id])Source

zonkTopExpr :: HsExpr TcId -> TcM (HsExpr Id)Source

zonkTopLExpr :: LHsExpr TcId -> TcM (LHsExpr Id)Source

zonkId :: TcId -> TcM TcId Source

zonkTopBndrs :: [TcId] -> TcM [Id]Source