HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleCabal-syntax-3.12.1.0Haskell2010

Distribution.Types.PackageVersionConstraint

  • 1 type
  • 2 values
  • PackageCabal-syntax-3.12.1.0
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourcePackageVersionConstraint.hs

A version constraint on a package. Different from ExeDependency and Dependency since it does not specify the need for a component, not even the main library. There are a few places in the codebase where Dependency was used where PackageVersionConstraint is not used instead (#5570).

Instances11Eq, Data, Read, Show, Generic, NFData, …