chp-1.2.0: An implementation of concurrency ideas from Communicating Sequential ProcessesSource codeContentsIndex
This module contains support for CSP-style tracing. A CSP trace is simply a flat list of events in the order in which they occurred.
newtype CSPTrace = CSPTrace (ChannelLabels, [RecordedEvent])
runCHP_CSPTrace :: CHP a -> IO (Maybe a, CSPTrace)
runCHP_CSPTraceAndPrint :: CHP a -> IO ()
newtype CSPTrace Source
A classic CSP trace. It is simply the channel labels, and a list of recorded events in sequence -- the head of the list is the first (oldest) event.
CSPTrace (ChannelLabels, [RecordedEvent])
show/hide Instances
runCHP_CSPTrace :: CHP a -> IO (Maybe a, CSPTrace)Source
runCHP_CSPTraceAndPrint :: CHP a -> IO ()Source
Produced by Haddock version 2.4.2