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.CabalSpecVersion

  • 4 types
  • 7 values
datadata CabalSpecVersion
#
Instances13Bounded, Enum, Eq, Data, Ord, Read, …

What is the minimum Cabal library version which knows how handle this spec version.

Note: this is a point where we could decouple cabal-spec and Cabal versions, if we ever want that.

Example1 expression
cabalSpecMinimumLibraryVersion CabalSpecV3_0[2,5]
Example1 expression
cabalSpecMinimumLibraryVersion CabalSpecV2_4[2,3]
datadata HasElif
#
Instances2Eq, Show
  • Eq HasElifDefined in Cabal-syntax-3.12.1.0 · Distribution.CabalSpecVersion
  • Show HasElifDefined in Cabal-syntax-3.12.1.0 · Distribution.CabalSpecVersion