We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be convenient to have more iterable unpacking.
Julia 1.7:
julia> x, (ys...) = (1,2,3,4); julia> x, ys (1, (2, 3, 4)) julia> x, (ys...), z = (1,2,3,4) ERROR: syntax: invalid "..." on non-final assignment location "ys" around REPL[2]:1
Python (feature specification):
In [1]: x, *y, z = [1,2,3,4] In [2]: x, y, z Out[2]: (1, [2, 3], 4)
The text was updated successfully, but these errors were encountered:
Similar to but not exactly duplicate of #42036.
Sorry, something went wrong.
Maybe #42036 can be for function signatures and this issue can have the smaller scope of only unpacking assignment.
# first position (a..., b) = _ # interior position (a, b..., c) = _
This is addressed by #42902, but that still needs to be finished up.
Successfully merging a pull request may close this issue.
It would be convenient to have more iterable unpacking.
Julia 1.7:
Python (feature specification):
The text was updated successfully, but these errors were encountered: