Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- findAllChildrenOfCC :: (CCPayload -> Bool) -> DebugM (Set CCSPtr)
- findExactlyByCC :: (CCPayload -> Bool) -> DebugM (Set CCSPtr)
- findAllCCSPayloads :: DebugM CCSSet
- traverseCCSPayloads :: DebugM ()
- flattenIndexTable :: Maybe IndexTablePtr -> DebugM [CCSPayload]
- traverseIndexTable :: Maybe IndexTablePtr -> (CCPtr -> CCSPtr -> Bool -> DebugM a) -> DebugM [a]
- foldIndexTable :: (CCPtr -> CCSPtr -> Bool -> a -> DebugM a) -> a -> Maybe IndexTablePtr -> DebugM a
- newtype CCSSet = CCSSet IntSet
- memberCCSSet :: CCSPtr -> CCSSet -> Bool
Documentation
findAllChildrenOfCC :: (CCPayload -> Bool) -> DebugM (Set CCSPtr) Source #
Find all cost centre stack parts that are transitively children of the cost centre with the given id.
findExactlyByCC :: (CCPayload -> Bool) -> DebugM (Set CCSPtr) Source #
Find all Cost Centre Stacks that reference precisely the cost centre with the given id.
traverseCCSPayloads :: DebugM () Source #
Helper functions for working with IndexTable
's
flattenIndexTable :: Maybe IndexTablePtr -> DebugM [CCSPayload] Source #
Flatten an optional index table pointer into a list of CCS Payloads.
traverseIndexTable :: Maybe IndexTablePtr -> (CCPtr -> CCSPtr -> Bool -> DebugM a) -> DebugM [a] Source #
foldIndexTable :: (CCPtr -> CCSPtr -> Bool -> a -> DebugM a) -> a -> Maybe IndexTablePtr -> DebugM a Source #