Cabal-2.2.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.AbiDependency

Synopsis

Documentation

data AbiDependency Source #

An ABI dependency is a dependency on a library which also records the ABI hash (abiHash) of the library it depends on.

The primary utility of this is to enable an extra sanity when GHC loads libraries: it can check if the dependency has a matching ABI and if not, refuse to load this library. This information is critical if we are shadowing libraries; differences in the ABI hash let us know what packages get shadowed by the new version of a package.

Constructors

AbiDependency 

Instances

Eq AbiDependency Source # 
Read AbiDependency Source # 
Show AbiDependency Source # 
Generic AbiDependency Source # 

Associated Types

type Rep AbiDependency :: * -> * #

Binary AbiDependency Source # 
NFData AbiDependency Source # 

Methods

rnf :: AbiDependency -> () #

Pretty AbiDependency Source # 
Parsec AbiDependency Source # 
Text AbiDependency Source # 
type Rep AbiDependency Source # 
type Rep AbiDependency = D1 * (MetaData "AbiDependency" "Distribution.Types.AbiDependency" "Cabal-2.2.0.0-LjrPiS3OoG894mMpepVd4F" False) (C1 * (MetaCons "AbiDependency" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "depUnitId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * UnitId)) (S1 * (MetaSel (Just Symbol "depAbiHash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * AbiHash))))