-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Formal Viewpoint Adaptation (George Steed's model) #122
Conversation
I'm very excited to see this happen! |
Small thing to add to the RFC. Sylvan and I would like this see this implemented where we:
|
I think George Steed might have an error in wording or a typo in his paper, and I can’t find an email address for him, so I will place my comments here. Hopefully one of you can forward to him if I have raised is a valid issue. I quote from §2.2.1 Pony Capabilities:
But the tutorial section Ephemeral types says:
The tutorial says the ephemerally referenced value is not always unaliased. Only the consumed (or destructively read) named reference loses its alias which is transferred to the ephemeral reference. I understand that the ephemeral reference is unnamed until it is assigned to a name, but non-exclusive reference capability types may have aliases other than the ephemeral reference. Perhaps George intended to write ‘reference’ instead of ‘value’? So maybe it’s just a typo and not an error in conceptualization? Although wouldn’t the correct way to write that be, “…as well as allowing modifiers to denote the property that a reference is an unnamed alias by…” I have not completely read the paper yet, so I don’t know if I am incorrect for raising this issue or if that is just a typo or [very unlikely] if it is a conceptual error that carries through the paper. EDIT: perhaps George meant “mutably unaliased” because I read in §3.3.1 Ephemeral Modifiers that he is only interested in ephemeral modifiers on In §2.2.2 Viewpoint Adaptation the “and ω to refer to an object” doesn’t agree with Figures 1 and 2, which instead are labeled with Another typo in §2.4 F-Bounded Polymorphism:
I believe he meant “than” but that would still be misleading. As it would seem to imply that Another typo in §2.6.4 Modelling Challenges:
Missing ‘with’ as shown. Another typo in §3.4.3 Compatibility with Ephemeral Capabilities and Types:
Incorrect word ‘what’ as shown. Another typo in §3.11 Viewpoint Adaptation:
Missing ‘to’ as shown. Another typo in §3.11.2 Non-Extracting Viewpoint Adaptation:
Missing ‘object’ as shown. I’m wondering why in §7.6 Recovery to correct a bug in Pony, he chooses to not recover the capability for any of the elements of a tuple, when it seems to me that the programmer could identify one of the elements for which the capability could be safely recovered? |
Rendered.