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 #
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 #
depVerRange :: Dependency -> VersionRange #
depLibraries :: Dependency -> Set LibraryName #
simplifyDependency :: Dependency -> Dependency #
Simplify the VersionRange
expression in a Dependency
.
See simplifyVersionRange
.