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

Distribution.Types.GivenComponent

Synopsis

Documentation

data GivenComponent Source #

A GivenComponent represents a library depended on and explicitly specified by the user/client with --dependency

It enables Cabal to know which ComponentId to associate with a library

Since: Cabal-2.3.0.0

Instances

Instances details
Structured GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Binary GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Methods

put :: GivenComponent -> Put #

get :: Get GivenComponent #

putList :: [GivenComponent] -> Put #

Generic GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Associated Types

type Rep GivenComponent 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep GivenComponent = D1 ('MetaData "GivenComponent" "Distribution.Types.GivenComponent" "Cabal-3.14.0.0-7eed" 'False) (C1 ('MetaCons "GivenComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "givenComponentPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageName) :*: (S1 ('MetaSel ('Just "givenComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibraryName) :*: S1 ('MetaSel ('Just "givenComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentId))))
Read GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Show GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Eq GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep GivenComponent = D1 ('MetaData "GivenComponent" "Distribution.Types.GivenComponent" "Cabal-3.14.0.0-7eed" 'False) (C1 ('MetaCons "GivenComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "givenComponentPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageName) :*: (S1 ('MetaSel ('Just "givenComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibraryName) :*: S1 ('MetaSel ('Just "givenComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentId))))

data PromisedComponent Source #

A PromisedComponent represents a promised library depended on and explicitly specified by the user/client with --promised-dependency

It enables Cabal to know which ComponentId to associate with a library

Since: Cabal-3.14.0.0

Instances

Instances details
Structured PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Binary PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Generic PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Associated Types

type Rep PromisedComponent 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep PromisedComponent = D1 ('MetaData "PromisedComponent" "Distribution.Types.GivenComponent" "Cabal-3.14.0.0-7eed" 'False) (C1 ('MetaCons "PromisedComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "promisedComponentPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageId) :*: (S1 ('MetaSel ('Just "promisedComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibraryName) :*: S1 ('MetaSel ('Just "promisedComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentId))))
Read PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Show PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Eq PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

type Rep PromisedComponent = D1 ('MetaData "PromisedComponent" "Distribution.Types.GivenComponent" "Cabal-3.14.0.0-7eed" 'False) (C1 ('MetaCons "PromisedComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "promisedComponentPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageId) :*: (S1 ('MetaSel ('Just "promisedComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibraryName) :*: S1 ('MetaSel ('Just "promisedComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentId))))