Cabal-3.12.1.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.TargetInfo

Synopsis

- data TargetInfo = TargetInfo {
  - targetCLBI :: ComponentLocalBuildInfo
  - targetComponent :: Component
  }

# 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.

Constructors

TargetInfo |

Fields

- targetCLBI :: ComponentLocalBuildInfo
- targetComponent :: Component

#### 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 type Key TargetInfo = UnitId

Methods

nodeKey :: TargetInfo -> Key TargetInfo Source #

nodeNeighbors :: TargetInfo -> [Key TargetInfo] Source #

Structured TargetInfo Source # |
Instance details Defined in Distribution.Types.TargetInfo Methods structure :: Proxy TargetInfo -> Structure Source # structureHash' :: Tagged TargetInfo MD5
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.12.1.0-cda0" 'False) (C1 ('MetaCons "TargetInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetCLBI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentLocalBuildInfo) :*: S1 ('MetaSel ('Just "targetComponent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Component)))

Methods

from :: TargetInfo -> Rep TargetInfo x #

to :: Rep TargetInfo x -> TargetInfo #

Show TargetInfo Source # |
Instance details Defined in Distribution.Types.TargetInfo Methods showsPrec :: Int -> TargetInfo -> ShowS # show :: TargetInfo -> String # showList :: [TargetInfo] -> ShowS #
type Key TargetInfo Source # |
Instance details Defined in Distribution.Types.TargetInfo type Key TargetInfo = UnitId
type Rep TargetInfo Source # |

Instance details

Defined in Distribution.Types.TargetInfo

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