Skip to content
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

Would like vararg syntax in tuple constructors #8382

Closed
eschnett opened this issue Sep 16, 2014 · 1 comment
Closed

Would like vararg syntax in tuple constructors #8382

eschnett opened this issue Sep 16, 2014 · 1 comment

Comments

@eschnett
Copy link
Contributor

I wanted to prepend an element to a tuple, and wrote (x, ys...). Apparently this syntax is illegal; one has to write tuple(x, ys...) instead.

Could the former syntax be allowed? It would feel quite natural, and doesn't seem to be ambiguous.

@JeffBezanson
Copy link
Member

Yes. dup of #4869

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

No branches or pull requests

2 participants