Skip to content

Commit 14dae26

Browse files
cootdcoutts
andcommitted
Added MonadMVar
Including a default implementation using 'MonadSTM', which guarantees fairness. Co-authored-by: Duncan Coutts <[email protected]>
1 parent 4b180e3 commit 14dae26

File tree

3 files changed

+405
-0
lines changed

3 files changed

+405
-0
lines changed

io-classes/io-classes.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ library
3333
Control.Monad.Class.MonadAsync
3434
Control.Monad.Class.MonadEventlog
3535
Control.Monad.Class.MonadFork
36+
Control.Monad.Class.MonadMVar
3637
Control.Monad.Class.MonadSay
3738
Control.Monad.Class.MonadST
3839
Control.Monad.Class.MonadSTM
@@ -53,6 +54,7 @@ library
5354
build-depends: base >=4.9 && <4.17,
5455
async >=2.1,
5556
bytestring,
57+
deque,
5658
mtl >=2.2 && <2.3,
5759
stm >=2.5 && <2.6,
5860
time >=1.9.1 && <1.11

0 commit comments

Comments
 (0)