Cabal-2.4.1.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.CabalSpecVersion

Synopsis

Documentation

data CabalSpecVersion #

Different Cabal-the-spec versions.

We branch based on this at least in the parser.

Instances
Bounded CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Enum CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Eq CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Data CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CabalSpecVersion -> c CabalSpecVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CabalSpecVersion #

toConstr :: CabalSpecVersion -> Constr #

dataTypeOf :: CabalSpecVersion -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CabalSpecVersion) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CabalSpecVersion) #

gmapT :: (forall b. Data b => b -> b) -> CabalSpecVersion -> CabalSpecVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CabalSpecVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CabalSpecVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> CabalSpecVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CabalSpecVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion #

Ord CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Read CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Show CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Generic CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

Associated Types

type Rep CabalSpecVersion :: * -> * #

type Rep CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

type Rep CabalSpecVersion = D1 (MetaData "CabalSpecVersion" "Distribution.CabalSpecVersion" "Cabal-2.4.1.0-ALhzvdqe44A7vLWPOxSupv" False) ((C1 (MetaCons "CabalSpecOld" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CabalSpecV1_22" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CabalSpecV1_24" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "CabalSpecV2_0" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CabalSpecV2_2" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CabalSpecV2_4" PrefixI False) (U1 :: * -> *))))

data CabalFeature #

Constructors

Elif 
CommonStanzas 
Globstar

Implemented in #5284. Not actually a change to the parser, as filename patterns are opaque to it currently.

Instances
Bounded CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Enum CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Eq CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Data CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CabalFeature -> c CabalFeature #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CabalFeature #

toConstr :: CabalFeature -> Constr #

dataTypeOf :: CabalFeature -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CabalFeature) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CabalFeature) #

gmapT :: (forall b. Data b => b -> b) -> CabalFeature -> CabalFeature #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CabalFeature -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CabalFeature -> r #

gmapQ :: (forall d. Data d => d -> u) -> CabalFeature -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CabalFeature -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CabalFeature -> m CabalFeature #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalFeature -> m CabalFeature #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalFeature -> m CabalFeature #

Ord CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Read CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Show CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Generic CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

Associated Types

type Rep CabalFeature :: * -> * #

type Rep CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

type Rep CabalFeature = D1 (MetaData "CabalFeature" "Distribution.CabalSpecVersion" "Cabal-2.4.1.0-ALhzvdqe44A7vLWPOxSupv" False) (C1 (MetaCons "Elif" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CommonStanzas" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Globstar" PrefixI False) (U1 :: * -> *)))

data HasElif #

Constructors

HasElif 
NoElif 
Instances
Eq HasElif # 
Instance details

Defined in Distribution.CabalSpecVersion

Methods

(==) :: HasElif -> HasElif -> Bool #

(/=) :: HasElif -> HasElif -> Bool #

Show HasElif # 
Instance details

Defined in Distribution.CabalSpecVersion

data HasGlobstar #

Constructors

HasGlobstar 
NoGlobstar