Cabal-3.2.1.0: A framework for packaging Haskell software
Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ExeDependency

Synopsis

Documentation

data ExeDependency Source #

Describes a dependency on an executable from a package

Instances

Instances details
Eq ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Data ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Methods

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

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

toConstr :: ExeDependency -> Constr Source #

dataTypeOf :: ExeDependency -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Read ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Show ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Generic ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Associated Types

type Rep ExeDependency :: Type -> Type Source #

Binary ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

NFData ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Methods

rnf :: ExeDependency -> () Source #

Structured ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Pretty ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency

Parsec ExeDependency #

Examples

>>> simpleParsec "happy:happy" :: Maybe ExeDependency
Just (ExeDependency (PackageName "happy") (UnqualComponentName "happy") AnyVersion)
>>> simpleParsec "happy:happy >= 1.19.12" :: Maybe ExeDependency
Just (ExeDependency (PackageName "happy") (UnqualComponentName "happy") (OrLaterVersion (mkVersion [1,19,12])))
>>> simpleParsec "happy:happy>=1.19.12" :: Maybe ExeDependency
Just (ExeDependency (PackageName "happy") (UnqualComponentName "happy") (OrLaterVersion (mkVersion [1,19,12])))
>>> simpleParsec "happy : happy >= 1.19.12" :: Maybe ExeDependency
Nothing
>>> simpleParsec "happy: happy >= 1.19.12" :: Maybe ExeDependency
Nothing
>>> simpleParsec "happy :happy >= 1.19.12" :: Maybe ExeDependency
Nothing
Instance details

Defined in Distribution.Types.ExeDependency

type Rep ExeDependency # 
Instance details

Defined in Distribution.Types.ExeDependency