Skip to content

add some 'IO' variants#94

Open
jkachmar wants to merge 1 commit intohaskell:masterfrom
jkachmar:extra-io-variants
Open

add some 'IO' variants#94
jkachmar wants to merge 1 commit intohaskell:masterfrom
jkachmar:extra-io-variants

Conversation

@jkachmar
Copy link
Copy Markdown

description

  • 'tryReadTMVarIO': a faster 'tryReadTMVar' (doesn't need to retry)
  • 'isEmptyTMVarIO': a faster 'isEmptyTMVar' (doesn't need to retry)
  • 'newTSemIO': 'newTSem' that can be run in 'unsafePerformIO'

notes

closes #89

* 'tryReadTMVarIO': a faster 'tryReadTMVar' (doesn't need to retry)
* 'isEmptyTMVarIO': a faster 'isEmptyTMVar' (doesn't need to retry)
* 'newTSemIO': 'newTSem' that can be run in 'unsafePerformIO'
@MangoIV
Copy link
Copy Markdown
Contributor

MangoIV commented Apr 8, 2026

I think this is a nice improvement. Can you add @since annotations for the next minor version as well as a changelog entry? When you do, I'll proceed to merge this.
Thank you for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Faster tryReadTMVarIO

2 participants