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.
TcRnLastStmtNotExpr :: HsStmtContextRn -> UnexpectedStatement -> TcRnMessageghc-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
FRRBindStmt :: StmtOrigin -> FixedRuntimeRepContextghc-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.
FRRBindStmtGuard :: FixedRuntimeRepContextghc-lib-parser GHC.Tc.Types.Origin A value bound by a pattern guard must have a fixed runtime representation. Test cases: none.
FRRBodyStmt :: StmtOrigin -> Int -> FixedRuntimeRepContextghc-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.
FRRBodyStmtGuard :: FixedRuntimeRepContextghc-lib-parser GHC.Tc.Types.Origin Arguments to a guard in a monad comprehension must have a fixed runtime representation. Test case: RepPolyMcGuard.
-
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
SuggestMoveNonCanonicalDefinition :: Name -> Name -> String -> GhcHintghc-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.
SuggestMoveToDeclarationSite :: SDoc -> RdrName -> GhcHintghc-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.
-
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
SuggestMoveNonCanonicalDefinition :: Name -> Name -> String -> GhcHintghc-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.