Cabal
Safe HaskellSafe-Inferred
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: 2.3.0.0

Constructors

GivenComponent 

Fields

Instances

Instances details
Structured GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Methods

structure :: Proxy GivenComponent -> Structure

structureHash' :: Tagged GivenComponent MD5

Generic GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Associated Types

type Rep GivenComponent :: Type -> Type #

Read GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Show GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Binary 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-inplace" '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: 3.14.0.0

Instances

Instances details
Structured PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Generic PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Associated Types

type Rep PromisedComponent :: Type -> Type #

Read PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Show PromisedComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Binary 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-inplace" '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))))