License | Apache-2.0 |
---|---|
Safe Haskell | Safe |
Language | Haskell2010 |
These types are used to communicate between the cabal-helper library and helper
executable, using Show/Read. If any types in this module change the major
version must be bumped since this will be exposed in the Distribution.Helper
module.
The cached executables in $XDG_CACHE_HOME/cabal-helper
use the cabal-helper
version (among other things) as a cache key so we don't need to worry about
talking to an old executable.
Documentation
data ChResponse Source #
ChResponseComponentsInfo (Map ChComponentName ChComponentInfo) | |
ChResponseList [String] | |
ChResponseLbi String | |
ChResponseVersion (String, Version) | |
ChResponseFlags [(String, Bool)] |
Instances
data ChComponentName Source #
ChSetupHsName | |
ChLibName ChLibraryName | |
ChFLibName String | |
ChExeName String | |
ChTestName String | |
ChBenchName String |
Instances
data ChLibraryName Source #
Instances
newtype ChModuleName Source #
Instances
data ChComponentInfo Source #
ChComponentInfo | |
|
Instances
Eq ChComponentInfo Source # | |
Defined in CabalHelper.Shared.InterfaceTypes (==) :: ChComponentInfo -> ChComponentInfo -> Bool # (/=) :: ChComponentInfo -> ChComponentInfo -> Bool # | |
Ord ChComponentInfo Source # | |
Defined in CabalHelper.Shared.InterfaceTypes compare :: ChComponentInfo -> ChComponentInfo -> Ordering # (<) :: ChComponentInfo -> ChComponentInfo -> Bool # (<=) :: ChComponentInfo -> ChComponentInfo -> Bool # (>) :: ChComponentInfo -> ChComponentInfo -> Bool # (>=) :: ChComponentInfo -> ChComponentInfo -> Bool # max :: ChComponentInfo -> ChComponentInfo -> ChComponentInfo # min :: ChComponentInfo -> ChComponentInfo -> ChComponentInfo # | |
Read ChComponentInfo Source # | |
Defined in CabalHelper.Shared.InterfaceTypes | |
Show ChComponentInfo Source # | |
Defined in CabalHelper.Shared.InterfaceTypes showsPrec :: Int -> ChComponentInfo -> ShowS # show :: ChComponentInfo -> String # showList :: [ChComponentInfo] -> ShowS # |
data ChEntrypoint Source #
Instances
Instances
Eq ChPkgDb Source # | |
Ord ChPkgDb Source # | |
Defined in CabalHelper.Shared.InterfaceTypes | |
Read ChPkgDb Source # | |
Show ChPkgDb Source # | |
Generic ChPkgDb Source # | |
type Rep ChPkgDb Source # | |
Defined in CabalHelper.Shared.InterfaceTypes type Rep ChPkgDb = D1 (MetaData "ChPkgDb" "CabalHelper.Shared.InterfaceTypes" "cabal-helper-1.0.0.0-3RovMtTNraDHCRO0uwfQKJ-c-h-internal" False) (C1 (MetaCons "ChPkgGlobal" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ChPkgUser" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ChPkgSpecific" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath)))) |