ghc-7.6.1: The GHC API
Convert
convertToHsExpr :: SrcSpan -> Exp -> Either MsgDoc (LHsExpr RdrName)Source
convertToPat :: SrcSpan -> Pat -> Either MsgDoc (LPat RdrName)Source
convertToHsDecls :: SrcSpan -> [Dec] -> Either MsgDoc [LHsDecl RdrName]Source
convertToHsType :: SrcSpan -> Type -> Either MsgDoc (LHsType RdrName)Source
thRdrNameGuesses :: Name -> [RdrName]Source