Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throwSTM missing #54

Open
lehins opened this issue Feb 26, 2020 · 1 comment
Open

throwSTM missing #54

lehins opened this issue Feb 26, 2020 · 1 comment

Comments

@lehins
Copy link
Contributor

lehins commented Feb 26, 2020

Is throwSTM not exported from UnliftIO.STM on purpose, or was just forgotten about? If it is the former, I could supply a PR with adding it.

@snoyberg
Copy link
Member

I think it's because I'm not a fan of it; I don't like the idea of throwing an exception from inside STM. That said, I don't see a major problem with exporting it.

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

No branches or pull requests

2 participants