Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class Package pkg => PackageFixedDeps pkg where
- depends :: pkg -> ComponentDeps [UnitId]
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.
depends :: pkg -> ComponentDeps [UnitId] Source #
Instances
PackageFixedDeps InstalledPackageInfo Source # | |
Defined in Distribution.Solver.Types.PackageFixedDeps depends :: InstalledPackageInfo -> ComponentDeps [UnitId] Source # |