File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
io-sim/src/Control/Monad/IOSim Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ unGetTBQueueDefault (TBQueue queue _size) a = do
234234--
235235-- /Implementation details:/
236236--
237- -- ' STM' does not guarantee fairness, instead it provide compositionally.
237+ -- @ STM@ does not guarantee fairness, instead it provides compositionally.
238238-- Fairness of 'putMVarDefault' and 'takeMVarDefault' is provided by tracking
239239-- queue of blocked operation in the 'MVarState', e.g. when a 'putMVarDefault'
240240-- is scheduled on a full 'MVar', the request is put on to the back of the queue
Original file line number Diff line number Diff line change @@ -236,8 +236,8 @@ data StmA s a where
236236 LiftSTStm :: StrictST. ST s a -> (a -> StmA s b ) -> StmA s b
237237 FixStm :: (x -> STM s x ) -> (x -> StmA s r ) -> StmA s r
238238
239- -- | `IOSim`'s 'MonadSTM.STM' monad, as 'IOSim' it is parametrised by @s@, e.g.
240- -- @STMSim s a@ is monadic expression of type @a@.
239+ -- | `IOSim`'s 'Control.Monad.Class. MonadSTM.Internal. STM' monad, as 'IOSim' it
240+ -- is parametrised by @s@, e.g. @STMSim s a@ is monadic expression of type @a@.
241241--
242242type STMSim = STM
243243
You can’t perform that action at this time.
0 commit comments