Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. TcRnEmptyStmtsGroup :: EmptyStatementGroupErrReason -> TcRnMessage

    ghc 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 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. expandDoStmts :: HsDoFlavour -> [ExprLStmt GhcRn] -> TcM (LHsExpr GhcRn)

    ghc GHC.Tc.Gen.Do

    Expand the `do`-statments into expressions right after renaming so that they can be typechecked. See Note [Expanding HsDo with XXExprGhcRn] below for HsDo specific commentary and Note [Handling overloaded and rebindable constructs] for high level commentary

  4. addStmtCtxt :: ExprStmt GhcRn -> TcRn a -> TcRn a

    ghc GHC.Tc.Gen.Head

    No documentation available.

  5. type TcCmdStmtChecker = TcStmtChecker HsCmd TcRhoType

    ghc GHC.Tc.Gen.Match

    No documentation available.

  6. type TcExprStmtChecker = TcStmtChecker HsExpr ExpRhoType

    ghc GHC.Tc.Gen.Match

    No documentation available.

  7. type TcStmtChecker (body :: Type -> Type) rho_type = forall thing . () => HsStmtContextRn -> Stmt GhcRn LocatedA body GhcRn -> rho_type -> rho_type -> TcM thing -> TcM (Stmt GhcTc LocatedA body GhcTc, thing)

    ghc GHC.Tc.Gen.Match

    No documentation available.

  8. tcDoStmt :: TcExprStmtChecker

    ghc GHC.Tc.Gen.Match

    No documentation available.

  9. tcDoStmts :: HsDoFlavour -> LocatedL [LStmt GhcRn (LHsExpr GhcRn)] -> ExpRhoType -> TcM (HsExpr GhcTc)

    ghc GHC.Tc.Gen.Match

    No documentation available.

  10. tcGuardStmt :: TcExprStmtChecker

    ghc GHC.Tc.Gen.Match

    No documentation available.

Page 35 of many | Previous | Next