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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

ModuleCabal-syntax-3.18.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.18.1.0 · Distribution.CabalSpecVersion
  • Show HasElifDefined in Cabal-syntax-3.18.1.0 · Distribution.CabalSpecVersion