File tree 1 file changed +2
-2
lines changed
ouroboros-consensus-diffusion/test/consensus-test/Test/Consensus
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ module Test.Consensus.GSM (tests) where
30
30
import Cardano.Network.Types (LedgerStateJudgement (.. ))
31
31
import Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked
32
32
import Control.Exception (SomeException (.. ))
33
- import Control.Monad ( replicateM_ )
33
+ import qualified Control.Monad as Monad
34
34
import Control.Monad.Class.MonadAsync (async , poll ,
35
35
uninterruptibleCancel )
36
36
import Control.Monad.Class.MonadFork (MonadFork , yield )
@@ -973,7 +973,7 @@ isIdling (PeerState {psIdling = Idling i}) = i
973
973
-- Despite the crudeness, this seems much more compositional than invasive
974
974
-- explicit synchronization.
975
975
yieldSeveralTimes :: MonadFork m => m ()
976
- yieldSeveralTimes = replicateM_ 10 yield
976
+ yieldSeveralTimes = Monad. replicateM_ 10 yield
977
977
978
978
{-
979
979
You can’t perform that action at this time.
0 commit comments