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

List folding is incomplete #153

Closed
Tracked by #162
tohrnii opened this issue Feb 18, 2023 · 1 comment
Closed
Tracked by #162

List folding is incomplete #153

tohrnii opened this issue Feb 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working v0.3

Comments

@tohrnii
Copy link
Contributor

tohrnii commented Feb 18, 2023

Currently list folding doesn't work on vectors or intermediate variables representing list comprehension.

For example, the following doesn't work:

let a = [1, 2, 3]
let b = sum(a)
let a = sum([1, 2, 3])
let a = [b for b in b]
let c = sum(a)
@tohrnii
Copy link
Contributor Author

tohrnii commented Feb 28, 2023

Closed by #154

@tohrnii tohrnii closed this as completed Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.3
Projects
None yet
Development

No branches or pull requests

1 participant