Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PackageIdentifier :: PackageName -> Version -> PackageIdentifierCabal-syntax Distribution.Types.PackageId No documentation available.
-
Cabal-syntax Distribution.Types.PackageId.Lens The name and version of a package.
module Distribution.Types.
UnitId No documentation available.
-
Cabal-syntax Distribution.Types.UnitId A UnitId for a definite package. The DefUnitId invariant says that a UnitId identified this way is definite; i.e., it has no unfilled holes.
-
Cabal-syntax Distribution.Types.UnitId A unit identifier identifies a (possibly instantiated) package/component that can be installed the installed package database. There are several types of components that can be installed:
- A traditional library with no holes, so that unitIdHash is Nothing. In the absence of Backpack, UnitId is the same as a ComponentId.
- An indefinite, Backpack library with holes. In this case, unitIdHash is still Nothing, but in the install, there are only interfaces, no compiled objects.
- An instantiated Backpack library with all the holes filled in. unitIdHash is a Just a hash of the instantiating mapping.
mkLegacyUnitId :: PackageId -> UnitIdCabal-syntax Distribution.Types.UnitId Make an old-style UnitId from a package identifier. Assumed to be for the public library
-
Cabal-syntax Distribution.Types.UnitId No documentation available.
newSimpleUnitId :: ComponentId -> UnitIdCabal-syntax Distribution.Types.UnitId Create a unit identity with no associated hash directly from a ComponentId.
unDefUnitId :: DefUnitId -> UnitIdCabal-syntax Distribution.Types.UnitId No documentation available.
-
Cabal-syntax Distribution.Types.UnitId If you need backwards compatibility, consider using display instead, which is supported by all versions of Cabal.