-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Document assignment destructuring #30579
Conversation
The feature is introduced a few lines below this, where it says |
84ff4c8
to
664fe87
Compare
I've updated to address @JeffBezanson's coments (prompted by discussion on discourse). I've moved some of the underscore discussion to variables, but it does occur to me that the whole destructuring issue is orthogonal to functions: ideally we would have an assignment section elsewhere (perhaps under variables or scoping?), but until then this seems to be the best place for it. |
bump? |
I believe this is good, but now requires an update for #37410 also, which seems to have landed without docs. Would you be willing to take another pass through? |
See also #31765 |
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
0758253
to
a9d3fdc
Compare
@vtjnash @simeonschaub Thanks for the comments, I have updated the PR. |
This should perhaps also be combined with #30579 |
How about #38125 then 😬? |
I added the points mentioned by @JeffBezanson in #38125 (comment). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small suggestions, but otherwise LGTM.
* Document assignment destructuring * Add reference to slurping assignment (JuliaLang#37410) * mention swapping variables and other kinds of LHS Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
* Document assignment destructuring * Add reference to slurping assignment (JuliaLang#37410) * mention swapping variables and other kinds of LHS Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
* Document assignment destructuring * Add reference to slurping assignment (JuliaLang#37410) * mention swapping variables and other kinds of LHS Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
This doesn't appear to be documented elsewhere in the manual.