Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PsWarnUnrecognisedPragma :: String -> [String] -> PsMessageghc GHC.Parser.Errors.Types Unrecognised pragma. First field is the actual pragma name which might be empty. Second field is the set of valid candidate pragmas.
-
ghc GHC.Parser.Errors.Types No documentation available.
pattern
PFailed :: PState -> ParseResult aghc GHC.Parser.Lexer The parser has consumed a (possibly empty) prefix of the input and failed. The carried parsing state can be used to resume parsing. It is the state right before failure, including the fatal parse error. getPsMessages and getPsErrorMessages must return a non-empty bag of errors.
pattern
POk :: PState -> a -> ParseResult aghc GHC.Parser.Lexer The parser has consumed a (possibly empty) prefix of the input and produced a result. Use getPsMessages to check for accumulated warnings and non-fatal errors. The carried parsing state can be used to resume parsing.
-
ghc GHC.Parser.Lexer No documentation available.
-
ghc GHC.Parser.Lexer No documentation available.
-
ghc GHC.Parser.Lexer The result of running a parser.
-
ghc GHC.Parser.Lexer Parser options. See mkParserOpts to construct this.
ParserOpts :: ExtsBitmap -> DiagOpts -> [String] -> ParserOptsghc GHC.Parser.Lexer No documentation available.
-
ghc GHC.Parser.Lexer No documentation available.