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.

  1. pprUnitIdForUser :: UnitState -> UnitId -> SDoc

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

  2. pprUnitInfoForUser :: UnitInfo -> SDoc

    ghc-lib-parser GHC.Unit.State

    No documentation available.

  3. utf8DecodeForeignPtr :: ForeignPtr Word8 -> Int -> Int -> [Char]

    ghc-lib-parser GHC.Utils.Encoding.UTF8

    No documentation available.

  4. printInfoForUser :: Logger -> NamePprCtx -> SDoc -> IO ()

    ghc-lib-parser GHC.Utils.Error

    No documentation available.

  5. printOutputForUser :: Logger -> NamePprCtx -> SDoc -> IO ()

    ghc-lib-parser GHC.Utils.Error

    No documentation available.

  6. inlinePerformIO :: IO a -> a

    ghc-lib-parser GHC.Utils.IO.Unsafe

    No documentation available.

  7. data DumpFormat

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

  8. sdocPrintExplicitForalls :: SDocContext -> !Bool

    ghc-lib-parser GHC.Utils.Outputable

    No documentation available.

  9. sdocUnitIdForUser :: SDocContext -> !FastString -> SDoc

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

  10. freeForeignCallInfo :: Ptr C_ffi_cif -> IO ()

    ghc-lib-parser GHCi.FFI

    No documentation available.

Page 712 of many | Previous | Next