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