Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ResolvedBCO = ResolvedBCO {}
- data ResolvedBCOPtr
- isLittleEndian :: Bool
- data BCOByteArray a = 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
.
Instances
data ResolvedBCOPtr Source #
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
Binary ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO put :: ResolvedBCOPtr -> Put Source # get :: Get ResolvedBCOPtr Source # putList :: [ResolvedBCOPtr] -> Put Source # | |||||
Generic ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO
from :: ResolvedBCOPtr -> Rep ResolvedBCOPtr x # to :: Rep ResolvedBCOPtr x -> ResolvedBCOPtr # | |||||
Show ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO showsPrec :: Int -> ResolvedBCOPtr -> ShowS # show :: ResolvedBCOPtr -> String # showList :: [ResolvedBCOPtr] -> ShowS # | |||||
type Rep ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO type Rep ResolvedBCOPtr = D1 ('MetaData "ResolvedBCOPtr" "GHCi.ResolvedBCO" "ghci-9.12.0.20241114-66c7" '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 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.
Instances
(Binary a, Storable a, IArray UArray a) => Binary (BCOByteArray a) Source # | |
Defined in GHCi.ResolvedBCO put :: BCOByteArray a -> Put Source # get :: Get (BCOByteArray a) Source # putList :: [BCOByteArray a] -> Put Source # | |
Show (BCOByteArray Word16) Source # | |
Defined in GHCi.ResolvedBCO | |
Show (BCOByteArray Word) Source # | |
Defined in GHCi.ResolvedBCO |
mkBCOByteArray :: UArray Int a -> BCOByteArray a Source #