Hoogle Search

Within LTS Haskell 24.45 (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 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 GHC.Unit.State

    No documentation available.

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

    ghc GHC.Utils.Error

    No documentation available.

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

    ghc GHC.Utils.Error

    No documentation available.

  5. inlinePerformIO :: IO a -> a

    ghc GHC.Utils.IO.Unsafe

    No documentation available.

  6. data DumpFormat

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

  7. sdocPrintExplicitForalls :: SDocContext -> !Bool

    ghc GHC.Utils.Outputable

    No documentation available.

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

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

  9. type LForeignDecl pass = XRec pass ForeignDecl pass

    ghc Language.Haskell.Syntax.Decls

    Located Foreign Declaration

  10. XForeignDecl :: !XXForeignDecl pass -> ForeignDecl pass

    ghc Language.Haskell.Syntax.Decls

    No documentation available.

Page 495 of many | Previous | Next