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. PsWarnOperatorWhitespace :: FastString -> OperatorWhitespaceOccurrence -> PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    No documentation available.

  2. PsWarnOperatorWhitespaceExtConflict :: OperatorWhitespaceSymbol -> PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    No documentation available.

  3. PsWarnStarBinder :: PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    Found binding occurrence of "*" while StarIsType is enabled

  4. PsWarnStarIsType :: PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    Using "*" for Type without StarIsType enabled

  5. PsWarnTab :: Word -> PsMessage

    ghc-lib-parser 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

  6. PsWarnTransitionalLayout :: TransLayoutReason -> PsMessage

    ghc-lib-parser 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

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

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

  8. PsWarnViewPatternSignatures :: !LPat GhcPs -> !LPat GhcPs -> PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    PsWarnViewPatternSignatures is a warning triggered by view patterns whose RHS is an unparenthesised pattern signature. It warns on code that is highly likely to break when the precedence of view patterns relative to pattern signatures is changed per GHC Proposal #281. The suggested fix is to add parentheses. Example: f1 (isJust -> True :: Bool) = () Suggested fix: f1 (isJust -> (True :: Bool)) = () Test cases: T24159_viewpat

  9. type PsWarning = PsMessage

    ghc-lib-parser GHC.Parser.Errors.Types

    No documentation available.

  10. pattern PFailed :: PState -> ParseResult a

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

Page 547 of many | Previous | Next