Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

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

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

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

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

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

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

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

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

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

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

    ghc-lib-parser GHC.Types.Hint

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

Page 75 of many | Previous | Next