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 55- Support ` threadLabel ` (` io-classes-1.8 ` )
66- ` IOSimPOR ` 's ` Effect ` traces now will correctly show labels on read/written
77 ` 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 ` .
810
911## 1.6.0.0
1012
Original file line number Diff line number Diff line change @@ -171,11 +171,12 @@ instance Show ScheduleMod where
171171 showsPrec d (ScheduleMod tgt ctrl insertion) =
172172 showParen (d> 10 ) $
173173 showString " ScheduleMod " .
174- showsPrec 11 tgt .
174+ showParen True ( showString (ppStepId tgt)) .
175175 showString " " .
176176 showsPrec 11 ctrl .
177- showString " " .
178- showsPrec 11 insertion
177+ showString " [" .
178+ showString (List. intercalate " ," (map ppStepId insertion)) .
179+ showString " ]"
179180
180181--
181182-- Steps
You can’t perform that action at this time.
0 commit comments