Safe Haskell | Ignore |
---|---|
Language | GHC2021 |
GHCi.ResolvedBCO
Synopsis
- data ResolvedBCO = ResolvedBCO {}
- data ResolvedBCOPtr
- isLittleEndian :: Bool
- data BCOByteArray (a :: k) = BCOByteArray {}
- mkBCOByteArray :: UArray Int a -> BCOByteArray a
Documentation
data ResolvedBCO Source #
A ResolvedBCO
is one in which all the Name
references have been
resolved to actual addresses or RemoteHValues
.
Constructors
ResolvedBCO | |
Instances
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
Generic ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Associated Types
Methods from :: ResolvedBCOPtr -> Rep ResolvedBCOPtr x # to :: Rep ResolvedBCOPtr x -> ResolvedBCOPtr # | |||||
Show ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Methods showsPrec :: Int -> ResolvedBCOPtr -> ShowS # show :: ResolvedBCOPtr -> String # showList :: [ResolvedBCOPtr] -> ShowS # | |||||
Binary ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Methods put :: ResolvedBCOPtr -> Put # get :: Get ResolvedBCOPtr # putList :: [ResolvedBCOPtr] -> Put # | |||||
type Rep ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO type Rep ResolvedBCOPtr = D1 ('MetaData "ResolvedBCOPtr" "GHCi.ResolvedBCO" "ghc-lib-parser-9.10.2.20250515-IJK1D32DDxN9cJSpJAC8Wb" 'False) ((C1 ('MetaCons "ResolvedBCORef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "ResolvedBCOPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef HValue)))) :+: (C1 ('MetaCons "ResolvedBCOStaticPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemotePtr ()))) :+: (C1 ('MetaCons "ResolvedBCOPtrBCO" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResolvedBCO)) :+: C1 ('MetaCons "ResolvedBCOPtrBreakArray" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef BreakArray)))))) |
data BCOByteArray (a :: k) 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 | |
Fields |
Instances
Show (BCOByteArray Word16) Source # | |
Defined in GHCi.ResolvedBCO | |
Show (BCOByteArray Word) Source # | |
Defined in GHCi.ResolvedBCO | |
Binary (BCOByteArray a) Source # | |
Defined in GHCi.ResolvedBCO Methods put :: BCOByteArray a -> Put # get :: Get (BCOByteArray a) # putList :: [BCOByteArray a] -> Put # |
mkBCOByteArray :: UArray Int a -> BCOByteArray a Source #