HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

ModuleCabal-syntax-3.16.0.0Haskell2010

Distribution.Types.PackageVersionConstraint

  • 1 type
  • 2 values
  • PackageCabal-syntax-3.16.0.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, …