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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.Iface.Syntax

  • 47 types
  • 16 values
  • Packageghc-9.14.1
  • Exports63
  • 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

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