Safe Haskell | None |
---|---|
Language | GHC2021 |
Stack.Types.DumpPackage
Synopsis
- data DumpPackage = DumpPackage {
- ghcPkgId :: !GhcPkgId
- packageIdent :: !PackageIdentifier
- sublib :: !(Maybe SublibDump)
- license :: !(Maybe License)
- libDirs :: ![FilePath]
- libraries :: ![Text]
- hasExposedModules :: !Bool
- exposedModules :: !(Set ModuleName)
- depends :: ![GhcPkgId]
- haddockInterfaces :: ![FilePath]
- haddockHtml :: !(Maybe FilePath)
- isExposed :: !Bool
- data SublibDump = SublibDump {}
- dpParentLibIdent :: DumpPackage -> Maybe PackageIdentifier
Documentation
data DumpPackage Source #
Type representing dump information for a single package, as output by the
ghc-pkg describe
command.
Constructors
DumpPackage | |
Fields
|
Instances
Read DumpPackage Source # | |
Defined in Stack.Types.DumpPackage Methods readsPrec :: Int -> ReadS DumpPackage # readList :: ReadS [DumpPackage] # readPrec :: ReadPrec DumpPackage # readListPrec :: ReadPrec [DumpPackage] # | |
Show DumpPackage Source # | |
Defined in Stack.Types.DumpPackage Methods showsPrec :: Int -> DumpPackage -> ShowS # show :: DumpPackage -> String # showList :: [DumpPackage] -> ShowS # | |
Eq DumpPackage Source # | |
Defined in Stack.Types.DumpPackage |
data SublibDump Source #
ghc-pkg has a notion of sublibraries when using ghc-pkg dump. We can only know it's different through the fields it shows.
Constructors
SublibDump | |
Fields
|
Instances
Read SublibDump Source # | |
Defined in Stack.Types.DumpPackage Methods readsPrec :: Int -> ReadS SublibDump # readList :: ReadS [SublibDump] # readPrec :: ReadPrec SublibDump # readListPrec :: ReadPrec [SublibDump] # | |
Show SublibDump Source # | |
Defined in Stack.Types.DumpPackage Methods showsPrec :: Int -> SublibDump -> ShowS # show :: SublibDump -> String # showList :: [SublibDump] -> ShowS # | |
Eq SublibDump Source # | |
Defined in Stack.Types.DumpPackage |