W3cubDocs

/Haskell 9

GHCi.ResolvedBCO

Safe Haskell None
Language Haskell2010

data ResolvedBCO Source

A ResolvedBCO is one in which all the Name references have been resolved to actual addresses or RemoteHValues.

Instances
Instances details
Binary ResolvedBCO Source

The Binary instance for ResolvedBCOs.

Note, that we do encode the endianness, however there is no support for mixed endianness setups. This is primarily to ensure that ghc and iserv share the same endianness.

Instance details

Defined in GHCi.ResolvedBCO

Generic ResolvedBCO Source
Instance details

Defined in GHCi.ResolvedBCO

Associated Types

type Rep ResolvedBCO
Instance details

Defined in GHCi.ResolvedBCO

Show ResolvedBCO Source
Instance details

Defined in GHCi.ResolvedBCO

type Rep ResolvedBCO Source
Instance details

Defined in GHCi.ResolvedBCO

data ResolvedBCOPtr Source

Constructors

ResolvedBCORef !Int

reference to the Nth BCO in the current set

ResolvedBCOPtr !(RemoteRef HValue)

reference to a previously created BCO

ResolvedBCOStaticPtr !(RemotePtr ())

reference to a static ptr

ResolvedBCOPtrBCO ResolvedBCO

a nested BCO

ResolvedBCOPtrBreakArray !(RemoteRef BreakArray)

Resolves to the MutableArray# inside the BreakArray

Instances
Instances details
Binary ResolvedBCOPtr Source
Instance details

Defined in GHCi.ResolvedBCO

Generic ResolvedBCOPtr Source
Instance details

Defined in GHCi.ResolvedBCO

Associated Types

type Rep ResolvedBCOPtr
Instance details

Defined in GHCi.ResolvedBCO

Show ResolvedBCOPtr Source
Instance details

Defined in GHCi.ResolvedBCO

type Rep ResolvedBCOPtr Source
Instance details

Defined in GHCi.ResolvedBCO

isLittleEndian :: Bool Source

data BCOByteArray a Source

Wrapper for a ByteArray#. The phantom type tells what elements are stored in the ByteArray#. Creating a ByteArray# can be achieved using UArray's API, where the underlying ByteArray# can be unpacked.

Constructors

BCOByteArray
Instances
Instances details
(Binary a, Storable a, IArray UArray a) => Binary (BCOByteArray a) Source
Instance details

Defined in GHCi.ResolvedBCO

Show (BCOByteArray Word16) Source
Instance details

Defined in GHCi.ResolvedBCO

Show (BCOByteArray Word) Source
Instance details

Defined in GHCi.ResolvedBCO

mkBCOByteArray :: UArray Int a -> BCOByteArray a Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/ghci-9.12.1-fde5/GHCi-ResolvedBCO.html