Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unsafeLookupUnitId :: HasDebugCallStack => UnitState -> UnitId -> UnitInfoghc-lib-parser GHC.Unit.State Looks up the given unit id in the unit state, panicking if it is not found
type
DefUnitId = Definite UnitIdghc-lib-parser GHC.Unit.Types A DefUnitId is an UnitId with the invariant that it only refers to a definite library; i.e., one we have generated code for.
-
ghc-lib-parser GHC.Unit.Types Class for types that are used as unit identifiers (UnitKey, UnitId, Unit) We need this class because we create new unit ids for virtual units (see VirtUnit) and they have to to be made from units with different kinds of identifiers.
-
ghc-lib-parser GHC.Unit.Types A UnitId identifies a built library in a database and is used to generate unique symbols, etc. It's usually of the form: pkgname-1.2:libname+hash These UnitId are provided to us via the -this-unit-id flag. The library in question may be definite or indefinite; if it is indefinite, none of the holes have been filled (we never install partially instantiated libraries as we can cheaply instantiate them on-the-fly, cf VirtUnit). Put another way, an installed unit id is either fully instantiated, or not instantiated at all.
UnitId :: FastString -> UnitIdghc-lib-parser GHC.Unit.Types No documentation available.
-
ghc-lib-parser GHC.Unit.Types No documentation available.
-
ghc-lib-parser GHC.Unit.Types No documentation available.
-
ghc-lib-parser GHC.Unit.Types No documentation available.
-
ghc-lib-parser GHC.Unit.Types This is the package Id for the current program. It is the default package Id if you don't specify a package name. We don't add this prefix to symbol names, since there can be only one main package per program.
moduleUnitId :: Module -> UnitIdghc-lib-parser GHC.Unit.Types No documentation available.