Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PromotedItemListSyntax :: IsEmptyOrSingleton -> PromotedItemghc GHC.Utils.Outputable No documentation available.
PromotedItemTupleSyntax :: PromotedItemghc GHC.Utils.Outputable No documentation available.
-
ghc GHC.Utils.Outputable Flags that affect whether a promotion tick is printed.
-
Defines basic functions for printing error messages. It's hard to put these functions anywhere else without causing some unnecessary loops in the module dependency graph.
Panic :: String -> GhcExceptionghc GHC.Utils.Panic The impossible happened.
PprPanic :: String -> SDoc -> GhcExceptionghc GHC.Utils.Panic No documentation available.
PprProgramError :: String -> SDoc -> GhcExceptionghc GHC.Utils.Panic No documentation available.
PprSorry :: String -> SDoc -> GhcExceptionghc GHC.Utils.Panic No documentation available.
ProgramError :: String -> GhcExceptionghc GHC.Utils.Panic An error in the user's code, probably.
-
Defines a simple exception type and utilities to throw it. The PlainGhcException type is a subset of the GhcException type. It omits the exception constructors that involve pretty-printing via SDoc. The reason for this is to avoid import cycles / use of boot files. GHC.Utils.Outputable has many transitive dependencies. To throw exceptions from these modules, the functions here can be used without introducing import cycles.