-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ptr operations have the wrong types #333
Comments
Okay, it's actually more subtle than that. Sometimes a |
Kind of. If you take the address of a pinned |
@andrewthad I think it would make sense to offer an |
So I'd want a |
For example,
This accepts an arbitrary
PrimState m
, but that breaks referential transparency inST
, since the result of theST
calculation will depend on what's stored at that address at that time. All operations that dereferencePtr
orAddr
values should requirePrimState m ~ RealWorld
.The text was updated successfully, but these errors were encountered: