File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/Control/Monad/IOSimPOR Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 5
5
- Support ` threadLabel ` (` io-classes-1.8 ` )
6
6
- ` IOSimPOR ` 's ` Effect ` traces now will correctly show labels on read/written
7
7
` TVars ` .
8
+ - ` Show ` instance for ` ScheduleMod ` now prints ` ThreadId ` s in a slightly nicer
9
+ way, matching the way those steps would be traced in the ` SimTrace ` .
8
10
9
11
## 1.6.0.0
10
12
Original file line number Diff line number Diff line change @@ -171,11 +171,12 @@ instance Show ScheduleMod where
171
171
showsPrec d (ScheduleMod tgt ctrl insertion) =
172
172
showParen (d> 10 ) $
173
173
showString " ScheduleMod " .
174
- showsPrec 11 tgt .
174
+ showParen True ( showString (ppStepId tgt)) .
175
175
showString " " .
176
176
showsPrec 11 ctrl .
177
- showString " " .
178
- showsPrec 11 insertion
177
+ showString " [" .
178
+ showString (List. intercalate " ," (map ppStepId insertion)) .
179
+ showString " ]"
179
180
180
181
--
181
182
-- Steps
You can’t perform that action at this time.
0 commit comments