-
Added
Control.Concurrent...Class
modules with typeclasses for overloaded operations. Functions likeputMVar
now work on bothWriteOnlyMVar
andMVar
. -
Export list updated. Importing
Control.Concurrent.Privilege
should now be enough for all use cases.
- Added
tryReadTChan
,peekTChan
andtryPeekTChan
for read-onlyTChan
s.
- Added
tryReadMVar
for read-onlyMVar
s.
- Write-only types are no longer
Eq
, but are now contravariant functors.
- Read-only types are no longer
Eq
, but are now functors.
- Functions are low lifted to
MonadBase IO
.
- Initial version with read-only and write-only versions of
Chan
,MVar
,TChan
,TMVar
andTVar
.