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

Collect variable #5

Open
t-kalinowski opened this issue Nov 26, 2024 · 0 comments
Open

Collect variable #5

t-kalinowski opened this issue Nov 26, 2024 · 0 comments

Comments

@t-kalinowski
Copy link

It would be nice if dotty had an equivalent of the * operator in a Python expression like:

first, second, *the_rest = range(10)

Proposed syntax:

.[first, second, ..the_rest] <- 1:10
first == 1
second == 2
the_rest == 3:10
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

1 participant