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
234
234
--
235
235
-- /Implementation details:/
236
236
--
237
- -- ' STM' does not guarantee fairness, instead it provide compositionally.
237
+ -- @ STM@ does not guarantee fairness, instead it provides compositionally.
238
238
-- Fairness of 'putMVarDefault' and 'takeMVarDefault' is provided by tracking
239
239
-- queue of blocked operation in the 'MVarState', e.g. when a 'putMVarDefault'
240
240
-- 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
236
236
LiftSTStm :: StrictST. ST s a -> (a -> StmA s b ) -> StmA s b
237
237
FixStm :: (x -> STM s x ) -> (x -> StmA s r ) -> StmA s r
238
238
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@.
241
241
--
242
242
type STMSim = STM
243
243
You can’t perform that action at this time.
0 commit comments