Cabal-3.11.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

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.11.0.0-affb" '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

Binary GivenComponent Source # 
Instance details

Defined in Distribution.Types.GivenComponent

Methods

put :: GivenComponent -> Put #

get :: Get GivenComponent #

putList :: [GivenComponent] -> Put #

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.11.0.0-affb" '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))))