cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Types.PackageFixedDeps

Synopsis

Documentation

class Package pkg => PackageFixedDeps pkg where Source #

Subclass of packages that have specific versioned dependencies.

So for example a not-yet-configured package has dependencies on version ranges, not specific versions. A configured or an already installed package depends on exact versions. Some operations or data structures (like dependency graphs) only make sense on this subclass of package types.

Methods

depends :: pkg -> ComponentDeps [UnitId] Source #

Instances

Instances details
PackageFixedDeps InstalledPackageInfo Source # 
Instance details

Defined in Distribution.Solver.Types.PackageFixedDeps

Methods

depends :: InstalledPackageInfo -> ComponentDeps [UnitId] Source #