Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. TcRnEmptyStmtsGroup :: EmptyStatementGroupErrReason -> TcRnMessage

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

    TcRnEmptyStmtsGroup is an error triggered by an empty list of statements in a statement block. For more information, see EmptyStatementGroupErrReason Example(s):

    • () | then ()
    do proc () -> do Test cases: renameshould_failRnEmptyStatementGroup1

  2. TcRnLastStmtNotExpr :: HsStmtContextRn -> UnexpectedStatement -> TcRnMessage

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

    TcRnLastStmtNotExpr is an error caused by the last statement in a statement block not being an expression. Example(s): do x <- pure () do let x = 5 Test cases: renameshould_failT6060 parsershould_failT3811g parsershould_failreadFail028

  3. FRRBindStmt :: StmtOrigin -> FixedRuntimeRepContext

    ghc-lib-parser GHC.Tc.Types.Origin

    Arguments to (>>=) arising from a do expression or a monad comprehension must have a fixed runtime representation. Test cases: RepPolyDoBind, RepPolyMcBind.

  4. FRRBindStmtGuard :: FixedRuntimeRepContext

    ghc-lib-parser GHC.Tc.Types.Origin

    A value bound by a pattern guard must have a fixed runtime representation. Test cases: none.

  5. FRRBodyStmt :: StmtOrigin -> Int -> FixedRuntimeRepContext

    ghc-lib-parser GHC.Tc.Types.Origin

    The body of a do expression or a monad comprehension must have a fixed runtime representation. Test cases: RepPolyDoBody{1,2}, RepPolyMcBody.

  6. FRRBodyStmtGuard :: FixedRuntimeRepContext

    ghc-lib-parser GHC.Tc.Types.Origin

    Arguments to a guard in a monad comprehension must have a fixed runtime representation. Test case: RepPolyMcGuard.

  7. SuggestMissingDo :: GhcHint

    ghc-lib-parser GHC.Types.Error

    Suggests that a monadic code block is probably missing a "do" keyword. Example: main = putStrLn "hello" putStrLn "world" Test case(s): parsershould_failT8501a, parsershould_failreadFail007, parsershould_failInfixAppPatErr, parsershould_failT984

  8. SuggestMoveNonCanonicalDefinition :: Name -> Name -> String -> GhcHint

    ghc-lib-parser GHC.Types.Error

    Suggest moving a method implementation to a different instance to its superclass that defines the canonical version of the method.

  9. SuggestMoveToDeclarationSite :: SDoc -> RdrName -> GhcHint

    ghc-lib-parser GHC.Types.Error

    Something is split off from its corresponding declaration. For example, a datatype is given a role declaration in a different module. Test cases: T495, T8485, T2713, T5533.

  10. SuggestMissingDo :: GhcHint

    ghc-lib-parser GHC.Types.Hint

    Suggests that a monadic code block is probably missing a "do" keyword. Example: main = putStrLn "hello" putStrLn "world" Test case(s): parsershould_failT8501a, parsershould_failreadFail007, parsershould_failInfixAppPatErr, parsershould_failT984

Page 75 of many | Previous | Next