HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.Iface.Syntax

  • 47 types
  • 16 values
datadata IfaceDecl
#
Instances5NFData, NamedThing, Outputable, Binary, HasOccName
datadata IfaceFamTyConFlav
#

Constructors

Instances2NFData, Binary
datadata IfaceClassOp
#
Instances5NFData, NamedThing, Outputable, Binary, HasOccName
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

Instances5Eq, Data, NFData, Outputable, Binary
datadata SrcStrictness
#

Source Strictness

What strictness annotation the user wrote

Constructors

Instances5Eq, Data, NFData, Outputable, Binary

Binding names

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