Copyright | (c) 2017 Michael Walker |
---|---|
License | MIT |
Maintainer | Michael Walker <mike@barrucadu.co.uk> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Utility functions for users of dejafu.
Traces
showTrace :: Trace -> String Source #
Pretty-print a trace, including a key of the thread IDs (not including thread 0). Each line of the key is indented by two spaces.
Since: 0.5.0.0
simplestsBy :: (x -> x -> Bool) -> [(x, Trace)] -> [(x, Trace)] Source #
Find the "simplest" trace leading to each result.