Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageSpecifier pkg
- pkgSpecifierTarget :: Package pkg => PackageSpecifier pkg -> PackageName
- pkgSpecifierConstraints :: Package pkg => PackageSpecifier pkg -> [LabeledPackageConstraint]
- mkNamedPackage :: PackageIdentifier -> PackageSpecifier pkg
Documentation
data PackageSpecifier pkg Source #
A fully or partially resolved reference to a package.
NamedPackage PackageName [PackageProperty] | A partially specified reference to a package (either source or installed). It is specified by package name and optionally some required properties. Use a dependency resolver to pick a specific package satisfying these properties. |
SpecificSourcePackage pkg | A fully specified source package. |
Instances
pkgSpecifierTarget :: Package pkg => PackageSpecifier pkg -> PackageName Source #
pkgSpecifierConstraints :: Package pkg => PackageSpecifier pkg -> [LabeledPackageConstraint] Source #
mkNamedPackage :: PackageIdentifier -> PackageSpecifier pkg Source #