| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stackage.PackageDescription
Description
Manipulate GenericPackageDescription from Cabal into something more
useful for us.
- data SimpleDesc = SimpleDesc {}
- toSimpleDesc :: MonadThrow m => CheckCond -> SimplifiedPackageDescription -> m SimpleDesc
- data CheckCond = CheckCond {}
- data Component
- data DepInfo = DepInfo {}
Documentation
data SimpleDesc Source #
A simplified package description that tracks:
- Package dependencies
- Build tool dependencies
- Provided executables
It has fully resolved all conditionals
Constructors
| SimpleDesc | |
Fields
| |
Instances
toSimpleDesc :: MonadThrow m => CheckCond -> SimplifiedPackageDescription -> m SimpleDesc Source #
Convert a GenericPackageDescription into a SimpleDesc by following the
constraints in the provided CheckCond.
Constructors
| CheckCond | |
Fields
| |
Constructors
| CompLibrary | |
| CompExecutable | |
| CompTestSuite | |
| CompBenchmark |