Skip to content

Immutable value semantic returns questions from #5434 #5522

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

Open
josh11b opened this issue May 22, 2025 · 1 comment
Open

Immutable value semantic returns questions from #5434 #5522

josh11b opened this issue May 22, 2025 · 1 comment
Labels
leads question A question for the leads team

Comments

@josh11b
Copy link
Contributor

josh11b commented May 22, 2025

These questions were prompted by discussion around proposal #5434 .

How should we spell value form returns at a high level? Should we have

  • an explicit marker attached to the return?
  • an explicit marker attached to the function declaration? or
  • imply this from bound parameters?

If the answer is one of the first two, should the explicit marker leverage the keyword let? If not, what keyword or symbol should be employed here?

If we do pick the keyword let, should we rename terminology to use that keyword as well? And how much terminology?

@josh11b josh11b added the leads question A question for the leads team label May 22, 2025
@chandlerc
Copy link
Contributor

Note that these questions (in addition to some others) were discussed in the open discussion, with notes that folks interested can dig through here: https://docs.google.com/document/d/1Yt-i5AmF76LSvD4TrWRIAE_92kii6j5yFiW-S7ahzlg/edit?tab=t.0#heading=h.uot97ukynlsi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
leads question A question for the leads team
Projects
None yet
Development

No branches or pull requests

2 participants