Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pprUnitIdForUser :: UnitState -> UnitId -> SDocghc-lib-parser GHC.Unit.State Pretty-print a UnitId for the user. Cabal packages may contain several components (programs, libraries, etc.). As far as GHC is concerned, installed package components ("units") are identified by an opaque UnitId string provided by Cabal. As the string contains a hash, we don't want to display it to users so GHC queries the database to retrieve some infos about the original source package (name, version, component name). Instead we want to display: packagename-version[:componentname] Component name is only displayed if it isn't the default library To do this we need to query a unit database.
pprUnitInfoForUser :: UnitInfo -> SDocghc-lib-parser GHC.Unit.State No documentation available.
utf8DecodeForeignPtr :: ForeignPtr Word8 -> Int -> Int -> [Char]ghc-lib-parser GHC.Utils.Encoding.UTF8 No documentation available.
printInfoForUser :: Logger -> NamePprCtx -> SDoc -> IO ()ghc-lib-parser GHC.Utils.Error No documentation available.
printOutputForUser :: Logger -> NamePprCtx -> SDoc -> IO ()ghc-lib-parser GHC.Utils.Error No documentation available.
-
ghc-lib-parser GHC.Utils.IO.Unsafe No documentation available.
-
ghc-lib-parser GHC.Utils.Logger Format of a dump Dump formats are loosely defined: dumps may contain various additional headers and annotations and they may be partial. DumpFormat is mainly a hint (e.g. for syntax highlighters).
sdocPrintExplicitForalls :: SDocContext -> !Boolghc-lib-parser GHC.Utils.Outputable No documentation available.
sdocUnitIdForUser :: SDocContext -> !FastString -> SDocghc-lib-parser GHC.Utils.Outputable Used to map UnitIds to more friendly "package-version:component" strings while pretty-printing. Use pprWithUnitState to set it. Users should never have to set it to pretty-print SDocs emitted by GHC, otherwise it's a bug. It's an internal field used to thread the UnitState so that the Outputable instance of UnitId can use it. See Note [Pretty-printing UnitId] in GHC.Unit for more details. Note that we use FastString instead of UnitId to avoid boring module inter-dependency issues.
freeForeignCallInfo :: Ptr C_ffi_cif -> IO ()ghc-lib-parser GHCi.FFI No documentation available.