Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MissingInterfaceError
- data InterfaceLookingFor
- data IfaceMessage
- data ReadInterfaceError
- data CantFindInstalled = CantFindInstalled ModuleName CantFindInstalledReason
- data CantFindInstalledReason
- = NoUnitIdMatching UnitId [UnitInfo]
- | MissingPackageFiles UnitId [FilePath]
- | MissingPackageWayFiles String UnitId [FilePath]
- | ModuleSuggestion [ModuleSuggestion] [FilePath]
- | NotAModule
- | CouldntFindInFiles [FilePath]
- | GenericMissing [(Unit, Maybe UnitInfo)] [Unit] [UnusableUnit] [FilePath]
- | MultiplePackages [(Module, ModuleOrigin)]
- data FindingModuleOrInterface
- data BuildingCabalPackage
- data IfaceMessageOpts = IfaceMessageOpts {}
Documentation
data MissingInterfaceError Source #
Instances
data InterfaceLookingFor Source #
data IfaceMessage Source #
Can'tFindInterface MissingInterfaceError InterfaceLookingFor | |
Can'tFindNameInInterface Name [TyThing] | |
CircularImport !Module |
Instances
Generic IfaceMessage Source # | |||||
Defined in GHC.Iface.Errors.Types
from :: IfaceMessage -> Rep IfaceMessage x Source # to :: Rep IfaceMessage x -> IfaceMessage Source # | |||||
Diagnostic IfaceMessage Source # | |||||
Defined in GHC.Iface.Errors.Ppr
| |||||
type Rep IfaceMessage Source # | |||||
Defined in GHC.Iface.Errors.Types type Rep IfaceMessage = D1 ('MetaData "IfaceMessage" "GHC.Iface.Errors.Types" "ghc-9.8.4-2366" 'False) (C1 ('MetaCons "Can'tFindInterface" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MissingInterfaceError) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterfaceLookingFor)) :+: (C1 ('MetaCons "Can'tFindNameInInterface" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyThing])) :+: C1 ('MetaCons "CircularImport" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Module)))) | |||||
type DiagnosticOpts IfaceMessage Source # | |||||
Defined in GHC.Iface.Errors.Ppr |
data ReadInterfaceError Source #
Instances
Generic ReadInterfaceError Source # | |||||
Defined in GHC.Iface.Errors.Types
from :: ReadInterfaceError -> Rep ReadInterfaceError x Source # to :: Rep ReadInterfaceError x -> ReadInterfaceError Source # | |||||
type Rep ReadInterfaceError Source # | |||||
Defined in GHC.Iface.Errors.Types type Rep ReadInterfaceError = D1 ('MetaData "ReadInterfaceError" "GHC.Iface.Errors.Types" "ghc-9.8.4-2366" 'False) (C1 ('MetaCons "ExceptionOccurred" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomeException)) :+: C1 ('MetaCons "HiModuleNameMismatchWarn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Module) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Module)))) |
data CantFindInstalled Source #
Instances
Generic CantFindInstalled Source # | |||||
Defined in GHC.Iface.Errors.Types
from :: CantFindInstalled -> Rep CantFindInstalled x Source # to :: Rep CantFindInstalled x -> CantFindInstalled Source # | |||||
type Rep CantFindInstalled Source # | |||||
Defined in GHC.Iface.Errors.Types type Rep CantFindInstalled = D1 ('MetaData "CantFindInstalled" "GHC.Iface.Errors.Types" "ghc-9.8.4-2366" 'False) (C1 ('MetaCons "CantFindInstalled" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CantFindInstalledReason))) |
data CantFindInstalledReason Source #
NoUnitIdMatching UnitId [UnitInfo] | |
MissingPackageFiles UnitId [FilePath] | |
MissingPackageWayFiles String UnitId [FilePath] | |
ModuleSuggestion [ModuleSuggestion] [FilePath] | |
NotAModule | |
CouldntFindInFiles [FilePath] | |
GenericMissing [(Unit, Maybe UnitInfo)] [Unit] [UnusableUnit] [FilePath] | |
MultiplePackages [(Module, ModuleOrigin)] |
Instances
Generic CantFindInstalledReason Source # | |||||
Defined in GHC.Iface.Errors.Types
| |||||
type Rep CantFindInstalledReason Source # | |||||
Defined in GHC.Iface.Errors.Types type Rep CantFindInstalledReason = D1 ('MetaData "CantFindInstalledReason" "GHC.Iface.Errors.Types" "ghc-9.8.4-2366" 'False) (((C1 ('MetaCons "NoUnitIdMatching" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnitId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UnitInfo])) :+: C1 ('MetaCons "MissingPackageFiles" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnitId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :+: (C1 ('MetaCons "MissingPackageWayFiles" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnitId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :+: C1 ('MetaCons "ModuleSuggestion" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleSuggestion]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath])))) :+: ((C1 ('MetaCons "NotAModule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CouldntFindInFiles" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :+: (C1 ('MetaCons "GenericMissing" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Unit, Maybe UnitInfo)]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Unit])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UnusableUnit]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :+: C1 ('MetaCons "MultiplePackages" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Module, ModuleOrigin)]))))) |
data BuildingCabalPackage Source #
Pass to a DriverMessage
the information whether or not the
'-fbuilding-cabal-package' flag is set.
Instances
Eq BuildingCabalPackage Source # | |
Defined in GHC.Iface.Errors.Types (==) :: BuildingCabalPackage -> BuildingCabalPackage -> Bool # (/=) :: BuildingCabalPackage -> BuildingCabalPackage -> Bool # |
data IfaceMessageOpts Source #
IfaceMessageOpts | |
|