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

Allow reusing local variables #60

Closed
dpsanders opened this issue Feb 8, 2017 · 2 comments
Closed

Allow reusing local variables #60

dpsanders opened this issue Feb 8, 2017 · 2 comments

Comments

@dpsanders
Copy link
Member

dpsanders commented Feb 8, 2017

e.g.

a = f(a)
a = f(a)
@dpsanders
Copy link
Member Author

Can treat each new assignment as a new local variable on the LHS, and use the current one on the RHS:

a_1 = f(a)
a_2 = f(a_1)

@dpsanders
Copy link
Member Author

No longer relevant?

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