HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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, …