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

Under GHC 8, use runRW# primop #2

Open
treeowl opened this issue Sep 19, 2016 · 1 comment
Open

Under GHC 8, use runRW# primop #2

treeowl opened this issue Sep 19, 2016 · 1 comment
Assignees

Comments

@treeowl
Copy link

treeowl commented Sep 19, 2016

The UnsafeST module says it's all about working around [https://ghc.haskell.org/trac/ghc/ticket/5916]. That ticket has now been closed thanks to the new runRW# primop. You should probably use that when available. You should also be able to remove the -fno-full-laziness from things using that module.

@wrengr wrengr self-assigned this Feb 25, 2019
@wrengr
Copy link
Owner

wrengr commented Nov 14, 2021

Note to self: runRW# appears to have been added in base-4.10.0.0 / ghc-8.2.1, and the kinding of the result type was generalized in base-4.13.0.0 / ghc-8.8.1

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