Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data BlockCache Source #
Instances
Binary BlockCache Source # | |
Defined in GHC.Debug.Client.BlockCache |
data BlockCacheRequest a where Source #
LookupClosure :: ClosurePtr -> BlockCacheRequest RawClosure | |
PopulateBlockCache :: BlockCacheRequest [RawBlock] |
Instances
Show (BlockCacheRequest a) Source # | |
Defined in GHC.Debug.Client.BlockCache showsPrec :: Int -> BlockCacheRequest a -> ShowS # show :: BlockCacheRequest a -> String # showList :: [BlockCacheRequest a] -> ShowS # | |
Eq (BlockCacheRequest a) Source # | |
Defined in GHC.Debug.Client.BlockCache (==) :: BlockCacheRequest a -> BlockCacheRequest a -> Bool # (/=) :: BlockCacheRequest a -> BlockCacheRequest a -> Bool # | |
Hashable (BlockCacheRequest a) Source # | |
Defined in GHC.Debug.Client.BlockCache hashWithSalt :: Int -> BlockCacheRequest a -> Int # hash :: BlockCacheRequest a -> Int # |
handleBlockReq :: (forall a. Request a -> IO a) -> IORef BlockCache -> BlockCacheRequest resp -> IO resp Source #
bcSize :: BlockCache -> Int Source #
addBlocks :: [RawBlock] -> BlockCache -> BlockCache Source #