Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data GenericPackageDescription
- data Flag
- data FlagName
- data ConfVar
- condBenchmarks :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Benchmark)]
- condExecutables :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Executable)]
- condForeignLibs :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] ForeignLib)]
- condLibrary :: Lens' GenericPackageDescription (Maybe (CondTree ConfVar [Dependency] Library))
- condSubLibraries :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Library)]
- condTestSuites :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] TestSuite)]
- genPackageFlags :: Lens' GenericPackageDescription [Flag]
- packageDescription :: Lens' GenericPackageDescription PackageDescription
- buildInfos :: Traversal' GenericPackageDescription BuildInfo
- flagName :: Lens' Flag FlagName
- flagDescription :: Lens' Flag String
- flagDefault :: Lens' Flag Bool
- flagManual :: Lens' Flag Bool
- _OS :: Traversal' ConfVar OS
- _Arch :: Traversal' ConfVar Arch
- _Flag :: Traversal' ConfVar FlagName
- _Impl :: Traversal' ConfVar (CompilerFlavor, VersionRange)
Documentation
A flag can represent a feature to be included, or a way of linking a target against its dependencies, or in fact whatever you can think of.
A FlagName
is the name of a user-defined configuration flag
Use mkFlagName
and unFlagName
to convert from/to a String
.
This type is opaque since Cabal-2.0
Since: 2.0.0.2
A ConfVar
represents the variable type used.
condBenchmarks :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Benchmark)] #
condExecutables :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Executable)] #
condForeignLibs :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] ForeignLib)] #
condSubLibraries :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] Library)] #
condTestSuites :: Lens' GenericPackageDescription [(UnqualComponentName, CondTree ConfVar [Dependency] TestSuite)] #
flagDefault :: Lens' Flag Bool #
flagManual :: Lens' Flag Bool #
_OS :: Traversal' ConfVar OS #
_Arch :: Traversal' ConfVar Arch #