Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. PsWarnStarIsType :: PsMessage

    ghc GHC.Parser.Errors.Types

    Using "*" for Type without StarIsType enabled

  2. PsWarnTab :: Word -> PsMessage

    ghc GHC.Parser.Errors.Types

    PsWarnTab is a warning (controlled by the -Wwarn-tabs flag) that occurs when tabulations (tabs) are found within a file. Test case(s): parsershould_failT12610 parsershould_compileT9723b parsershould_compileT9723a parsershould_compileread043 parsershould_failT16270 warningsshould_compileT9230

  3. PsWarnTransitionalLayout :: TransLayoutReason -> PsMessage

    ghc GHC.Parser.Errors.Types

    PsWarnTransitionalLayout is a warning (controlled by the -Walternative-layout-rule-transitional flag) that occurs when pipes ('|') or 'where' are at the same depth of an implicit layout block. Example(s): f :: IO () f | True = do let x = () y = () return () | True = return () Test case(s): layout/layout006 layout/layout003 layout/layout001

  4. PsWarnUnrecognisedPragma :: String -> [String] -> PsMessage

    ghc 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.

  5. type PsWarning = PsMessage

    ghc GHC.Parser.Errors.Types

    No documentation available.

  6. pattern PFailed :: PState -> ParseResult a

    ghc 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.

  7. pattern POk :: PState -> a -> ParseResult a

    ghc 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.

  8. data PState

    ghc GHC.Parser.Lexer

    No documentation available.

  9. PState :: StringBuffer -> ParserOpts -> Messages PsMessage -> Messages PsMessage -> Maybe RealSrcSpan -> Word -> Maybe (PsLocated Token) -> PsSpan -> PsSpan -> Int -> PsLoc -> [LayoutContext] -> [Int] -> [FastString] -> [PsLocated Token] -> Maybe (PsLocated Token) -> PsSpan -> [ALRContext] -> Maybe ALRLayout -> Bool -> Maybe (Pair RealSrcSpan RealSrcSpan) -> Maybe [LEpaComment] -> [LEpaComment] -> OrdList (PsLocated HdkComment) -> PState

    ghc GHC.Parser.Lexer

    No documentation available.

  10. data ParseResult a

    ghc GHC.Parser.Lexer

    The result of running a parser.

Page 150 of many | Previous | Next