You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3172: Fix signature of `Control.Monad.Class.MonadSTM.Strict.stateTVar` r=coot a=coot
This PR requires a careful review. There are various places where
```
stateTVar :: MonadSTM m => StrictTVar m s -> (s -> (s, s)) -> STM m s
```
is used, and thus the change made is not visible in types.
`IOLike` module in consensus exports `Control.Monad.Class.MonadSTM.Strict` so
this inlucdes all the places in consensus which use it.
- io-sim-classes: fix type signature of `Strict.stateTVar`
- Updated call sites of `Strict.stateTVar`
Co-authored-by: Marcin Szamotulski <[email protected]>
0 commit comments