Skip to content

Commit 638adf0

Browse files
committed
io-sim: more general ppTrace_ type signature
1 parent 573aa8d commit 638adf0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

io-sim/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- `selectTraceEventsSayWithTime'`
2323
is more general. These functions now accepts trace with any result, rather
2424
than one that finishes with `SimResult`.
25+
- More polymorphic `ppTrace_` type signature.
2526

2627
## 1.6.0.0
2728

io-sim/src/Control/Monad/IOSim/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ ppTrace tr = Trace.ppTrace
938938

939939
-- | Like 'ppTrace' but does not show the result value.
940940
--
941-
ppTrace_ :: SimTrace a -> String
941+
ppTrace_ :: Trace.Trace a SimEvent -> String
942942
ppTrace_ tr = Trace.ppTrace
943943
(const "")
944944
(ppSimEvent timeWidth tidWidth labelWidth)

0 commit comments

Comments
 (0)