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

Make isByteArrayPinned work on older GHCs #127

Closed
andrewthad opened this issue Apr 4, 2018 · 2 comments
Closed

Make isByteArrayPinned work on older GHCs #127

andrewthad opened this issue Apr 4, 2018 · 2 comments

Comments

@andrewthad
Copy link
Collaborator

The function isByteArrayPinned was added in #117, and it's only available for newer GHCs. I just noticed that in https://github.com/haskell/primitive/pull/64/files#diff-3775d36eee73f22308d8835dea028649R465, @winterland1989 had introduced a shim for making this work on older GHCs. This is probably worth adding.

@andrewthad
Copy link
Collaborator Author

And having a test for this would be helpful too.

@andrewthad
Copy link
Collaborator Author

Those old GHCs are now really old GHCs. Closing.

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

No branches or pull requests

2 participants