HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.Iface.Syntax

  • 43 types
  • 16 values
  • Packageghc-9.10.3
  • Exports59
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceSyntax.hs
datadata IfaceDecl
#
Instances5NFData, NamedThing, Outputable, Binary, HasOccName
datadata IfaceFamTyConFlav
#

Constructors

Instances2NFData, Binary
datadata IfaceConDecl
#
Instances4NFData, NamedThing, Binary, HasOccName
datadata IfaceExpr
#
Instances3NFData, Outputable, Binary
datadata IfaceBindingX r b
#

Constructors

Instances8Functor, Foldable, Traversable, Eq, Ord, NFData, …
datadata SrcUnpackedness
#

Source Unpackedness

What unpackedness the user requested

Constructors

Instances4Eq, Data, Outputable, Binary

Binding names

20 declarations
valuepprIfaceExpr :: (SDoc -> SDoc) -> IfaceExpr -> SDoc
#

Pretty Print an IfaceExpr

The first argument should be a function that adds parens in context that need an atomic value (e.g. function args)

datadata ShowHowMuch
#

Constructors

  • ShowHeader AltPpr

    Header information only, not rhs

  • ShowSome (Maybe (OccName -> Bool)) AltPpr

    Show the declaration and its RHS. The Maybe predicate allows filtering of the sub-components which should be printing; any sub-components filtered out will be elided with ....

  • ShowIface

    Everything including GHC-internal information (used in --show-iface)

Instances1Outputable
valueshowToIface :: ShowSub
#

Show declaration and its RHS, including GHc-internal information (e.g. for --show-iface).