Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Dependency = Dependency PackageName VersionRange (Set LibraryName)
- depPkgName :: Dependency -> PackageName
- depVerRange :: Dependency -> VersionRange
- depLibraries :: Dependency -> Set LibraryName
- thisPackageVersion :: PackageIdentifier -> Dependency
- notThisPackageVersion :: PackageIdentifier -> Dependency
- simplifyDependency :: Dependency -> Dependency
Documentation
data Dependency Source #
Describes a dependency on a source package (API)
Dependency PackageName VersionRange (Set LibraryName) | The set of libraries required from the package. Only the selected libraries will be built. It does not affect the cabal-install solver yet. |
Instances
depPkgName :: Dependency -> PackageName Source #
depVerRange :: Dependency -> VersionRange Source #
depLibraries :: Dependency -> Set LibraryName Source #
simplifyDependency :: Dependency -> Dependency Source #
Simplify the VersionRange
expression in a Dependency
.
See simplifyVersionRange
.