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

Missing instance Addr Prim #1

Open
no-longer-on-githu-b opened this issue Apr 8, 2020 · 1 comment
Open

Missing instance Addr Prim #1

no-longer-on-githu-b opened this issue Apr 8, 2020 · 1 comment

Comments

@no-longer-on-githu-b
Copy link

no-longer-on-githu-b commented Apr 8, 2020

In primitive before version 0.7.0.0 there was an instance for Prim Addr, but this instance has been removed when this package was split off.

Is there a reason it better be missing (e.g. unsafe)? If not I can send a patch to restore it.

OTOH, seems like Ptr () is a fine substitute for Addr.

@andrewthad
Copy link
Member

I would accept a PR adding this instance. Using Ptr instead works, although I prefer Ptr Void to Ptr ().

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