| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Unit.External.Wired
Contents
Synopsis
- data WireMap
- emptyWireMap :: WireMap
- isWireMapEmpty :: WireMap -> Bool
- lookupWireMap :: UnitId -> WireMap -> Maybe UnitId
- listWireMap :: WireMap -> [(UnitId, UnitId)]
- data UnwireMap
- emptyUnwireMap :: UnwireMap
- lookupUnwireMap :: UnitId -> UnwireMap -> Maybe UnitId
- unwiringMapFromWireMap :: WireMap -> UnwireMap
- findWiredInUnits :: Logger -> UnitPrecedenceMap -> [UnitInfo] -> VisibilityMap -> IO WireMap
WireMap
The WireMap records the mapping from the UnitId of on-disk UnitInfo
to the UnitId of the wiredInMap.
See wiredInUnitIds for the set of wired-in units.
isWireMapEmpty :: WireMap -> Bool Source #
UnwireMap
Creating WireMap
findWiredInUnits :: Logger -> UnitPrecedenceMap -> [UnitInfo] -> VisibilityMap -> IO WireMap Source #