Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Cabal-syntax Distribution.System No documentation available.
Platform :: Arch -> OS -> PlatformCabal-syntax Distribution.System No documentation available.
PackageFlag :: FlagName -> ConfVarCabal-syntax Distribution.Types.ConfVar No documentation available.
-
Cabal-syntax Distribution.Types.Flag 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.
-
Cabal-syntax Distribution.Types.GenericPackageDescription.Lens 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.
PackageFlag :: FlagName -> ConfVarCabal-syntax Distribution.Types.GenericPackageDescription.Lens No documentation available.
module Distribution.Types.
PackageDescription This defines the data structure for the .cabal file format. There are several parts to this structure. It has top level info and then Library, Executable, TestSuite, and Benchmark sections each of which have associated BuildInfo data that's used to build the library, exe, test, or benchmark. To further complicate things there is both a PackageDescription and a GenericPackageDescription. This distinction relates to cabal configurations. When we initially read a .cabal file we get a GenericPackageDescription which has all the conditional sections. Before actually building a package we have to decide on each conditional. Once we've done that we get a PackageDescription. It was done this way initially to avoid breaking too much stuff when the feature was introduced. It could probably do with being rationalised at some point to make it simpler.
-
Cabal-syntax Distribution.Types.PackageDescription This data type is the internal representation of the file pkg.cabal. It contains two kinds of information about the package: information which is needed for all packages, such as the package name and version, and information which is needed for the simple build system only, such as the compiler options and library name.
-
Cabal-syntax Distribution.Types.PackageDescription No documentation available.
-
Cabal-syntax Distribution.Types.PackageDescription.Lens This data type is the internal representation of the file pkg.cabal. It contains two kinds of information about the package: information which is needed for all packages, such as the package name and version, and information which is needed for the simple build system only, such as the compiler options and library name.