-
-
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
Feature: Add RFC for new gencap, #write
.
#93
Conversation
a38a1b7
to
d09ba41
Compare
👍 |
Sounds reasonable. Just a few points, Do we also need an extra gencap for
Do we want a way to write the following, where fun #write replace(x: A) : this->A^ =>
this.contents = consume x |
I think cases like that are already covered by automatic receiver recovery. |
Yeah, I remember being struck surprised by this as well. However, I'm not sure what could/should be done 🤔
Hm, I'm not sure where you think we need it. You're probably right, and I'm probably wrong, but I already implemented my first draft of this in a branch, and didn't use such a set. We should go over this again in code review for the implementation. |
I was thinking more about reflecting the receiver capability in the
I'm talking about the This can be seen as an implementation detail, with a I've always seen this is the reason |
I'm putting this into final comment period. Will address @plietar's concern in the implementation, and we can discuss it more in the PR - I don't think we want to add another user-facing gencap to accomodate |
Rendered.