Cabal-2.4.0.1: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.CabalSpecVersion

Synopsis

Documentation

data CabalSpecVersion Source #

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 Source #

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

toConstr :: CabalSpecVersion -> Constr Source #

dataTypeOf :: CabalSpecVersion -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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 -> Type Source #

type Rep CabalSpecVersion # 
Instance details

Defined in Distribution.CabalSpecVersion

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

data CabalFeature Source #

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 Source #

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

toConstr :: CabalFeature -> Constr Source #

dataTypeOf :: CabalFeature -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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 -> Type Source #

type Rep CabalFeature # 
Instance details

Defined in Distribution.CabalSpecVersion

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

data HasElif Source #

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