Distribution.Types.ExeDependency

Cabal-2.1.0.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.ExeDependency

Synopsis

- data ExeDependency = ExeDependency PackageName UnqualComponentName VersionRange
- qualifiedExeName :: ExeDependency -> ComponentName

# Documentation

data ExeDependency Source #

Describes a dependency on an executable from a package

Constructors

ExeDependency PackageName UnqualComponentName VersionRange |

Instances

Eq ExeDependency # |
Instance details Methods (==) :: ExeDependency -> ExeDependency -> Bool # (/=) :: ExeDependency -> ExeDependency -> Bool #
Data ExeDependency # |
Instance details 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 :: (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 Methods readsPrec :: Int -> ReadS ExeDependency Source # readList :: ReadS [ExeDependency] Source # readPrec :: ReadPrec ExeDependency Source # readListPrec :: ReadPrec [ExeDependency] Source #
Show ExeDependency # |
Instance details Methods showsPrec :: Int -> ExeDependency -> ShowS Source # show :: ExeDependency -> String Source # showList :: [ExeDependency] -> ShowS Source #
Generic ExeDependency # |
Instance details Associated Types type Rep ExeDependency :: * -> * Source # Methods from :: ExeDependency -> Rep ExeDependency x Source # to :: Rep ExeDependency x -> ExeDependency Source #
NFData ExeDependency # |
Instance details Methods rnf :: ExeDependency -> () Source #
Binary ExeDependency # |
Instance details Methods put :: ExeDependency -> Put Source # get :: Get ExeDependency Source # putList :: [ExeDependency] -> Put Source #
Parsec ExeDependency # |
Instance details Methods parsec :: ParsecParser ExeDependency Source # lexemeParsec :: ParsecParser ExeDependency Source #
Pretty ExeDependency # |
Instance details Methods pretty :: ExeDependency -> Doc Source #
Text ExeDependency # |
Instance details Methods disp :: ExeDependency -> Doc Source # parse :: ReadP r ExeDependency Source #
type Rep ExeDependency # |
Instance details type Rep ExeDependency = D1 (MetaData "ExeDependency" "Distribution.Types.ExeDependency" "Cabal-2.1.0.0" False) (C1 (MetaCons "ExeDependency" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PackageName) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UnqualComponentName) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 VersionRange))))

qualifiedExeName :: ExeDependency -> ComponentName Source #