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

Distribution.Types.TargetInfo

Synopsis

Documentation

data TargetInfo Source #

The TargetInfo contains all the information necessary to build a specific target (e.g., componentmodulefile) in a package. In principle, one can get the Component from a ComponentLocalBuildInfo and LocalBuildInfo, but it is much more convenient to have the component in hand.

Instances

Instances details
IsNode TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

Associated Types

type Key TargetInfo 
Instance details

Defined in Distribution.Types.TargetInfo

Structured TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

Binary TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

Methods

put :: TargetInfo -> Put #

get :: Get TargetInfo #

putList :: [TargetInfo] -> Put #

Generic TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

Associated Types

type Rep TargetInfo 
Instance details

Defined in Distribution.Types.TargetInfo

type Rep TargetInfo = D1 ('MetaData "TargetInfo" "Distribution.Types.TargetInfo" "Cabal-3.11.0.0-c342" 'False) (C1 ('MetaCons "TargetInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetCLBI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentLocalBuildInfo) :*: S1 ('MetaSel ('Just "targetComponent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Component)))
Show TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

type Key TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

type Rep TargetInfo Source # 
Instance details

Defined in Distribution.Types.TargetInfo

type Rep TargetInfo = D1 ('MetaData "TargetInfo" "Distribution.Types.TargetInfo" "Cabal-3.11.0.0-c342" 'False) (C1 ('MetaCons "TargetInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetCLBI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentLocalBuildInfo) :*: S1 ('MetaSel ('Just "targetComponent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Component)))