HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

Moduleghc-9.14.1GHC2021

Language.Haskell.Syntax.ImpExp

Synopsis
  • Packageghc-9.14.1
  • Exports13
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceImpExp.hs
datadata IE pass

Imported or exported entity.

Constructors

Instances13Eq, Data, Outputable, ToHie, HasHaddock, Anno, …
  • Eq (IE GhcPs)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • Eq (IE GhcRn)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • Eq (IE GhcTc)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • Data (IE GhcPs)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • Data (IE GhcRn)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • Data (IE GhcTc)Defined in ghc-9.14.1 · GHC.Hs.Instances · orphan
  • OutputableBndrId p => Outputable (IE (GhcPass p))Defined in ghc-9.14.1 · GHC.Hs.ImpExp · orphan
  • ToHie (IEContext (LocatedA (IE GhcRn)))Defined in ghc-9.14.1 · GHC.Iface.Ext.Ast
  • HasHaddock (LocatedA (IE GhcPs))Defined in ghc-9.14.1 · GHC.Parser.PostProcess.Haddock
  • HasHaddock (LocatedLI [LocatedA (IE GhcPs)])Defined in ghc-9.14.1 · GHC.Parser.PostProcess.Haddock

    Only for module exports, not module imports.

    module M (a, b, c) where -- use on this [LIE GhcPs] import I (a, b, c) -- do not use here!

    Imports cannot have documentation comments anyway.

  • type Anno (LocatedA (IE (GhcPass p))) = SrcSpanAnnADefined in ghc-9.14.1 · GHC.Hs.ImpExp · orphan
  • type Anno (IE (GhcPass p)) = SrcSpanAnnADefined in ghc-9.14.1 · GHC.Hs.ImpExp · orphan
  • type Anno [LocatedA (IE (GhcPass p))] = SrcSpanAnnLIDefined in ghc-9.14.1 · GHC.Hs.ImpExp · orphan
datadata IEWildcard

Wildcard in an import or export sublist, like the .. in import Mod ( T(Mk1, Mk2, ..) ).

Constructors

  • NoIEWildcard

    no wildcard in this list

  • IEWildcard Int

    wildcard after the given # of items in this list The Int is in the range [0..n], where n is the length of the list.

Instances2Eq, Data
  • Eq IEWildcardDefined in ghc-9.14.1 · Language.Haskell.Syntax.ImpExp
  • Data IEWildcardDefined in ghc-9.14.1 · Language.Haskell.Syntax.ImpExp
datadata IEWrappedName p

A name in an import or export specification which may have adornments. Used primarily for accurate pretty printing of ParsedSource, and API Annotation placement.

Constructors

Instances11Eq, Data, Outputable, OutputableBndr, HasOccName, ToHie, …
datadata ImportDecl pass

Import Declaration

A single Haskell import declaration.

Constructors

Instances6Data, Outputable, ToHie, Anno

Indicates whether a module name is referring to a boot interface (hs-boot file) or regular module (hs file). We need to treat boot modules specially when building compilation graphs, since they break cycles. Regular source files and signature files are treated equivalently.

Instances6Eq, Data, Ord, Show, NFData, Binary