cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Types.SolverPackage

Synopsis

Documentation

data SolverPackage loc Source #

A SolverPackage is a package specified by the dependency solver. It will get elaborated into a ConfiguredPackage or even an ElaboratedConfiguredPackage.

NB: SolverPackages are essentially always with UnresolvedPkgLoc, but for symmetry we have the parameter. (Maybe it can be removed.)

Instances

Instances details
Package (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Structured loc => Structured (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Methods

structure :: Proxy (SolverPackage loc) -> Structure

structureHash' :: Tagged (SolverPackage loc) MD5

Generic (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Associated Types

type Rep (SolverPackage loc) :: Type -> Type #

Methods

from :: SolverPackage loc -> Rep (SolverPackage loc) x #

to :: Rep (SolverPackage loc) x -> SolverPackage loc #

Show loc => Show (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Binary loc => Binary (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Methods

put :: SolverPackage loc -> Put #

get :: Get (SolverPackage loc) #

putList :: [SolverPackage loc] -> Put #

Eq loc => Eq (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

Methods

(==) :: SolverPackage loc -> SolverPackage loc -> Bool #

(/=) :: SolverPackage loc -> SolverPackage loc -> Bool #

type Rep (SolverPackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SolverPackage

type Rep (SolverPackage loc) = D1 ('MetaData "SolverPackage" "Distribution.Solver.Types.SolverPackage" "cabal-install-solver-3.14.1.0-inplace" 'False) (C1 ('MetaCons "SolverPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "solverPkgSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SourcePackage loc)) :*: S1 ('MetaSel ('Just "solverPkgFlags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FlagAssignment)) :*: (S1 ('MetaSel ('Just "solverPkgStanzas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionalStanzaSet) :*: (S1 ('MetaSel ('Just "solverPkgLibDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId])) :*: S1 ('MetaSel ('Just "solverPkgExeDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId]))))))