HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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, …

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

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

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