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

"<-" in loop #13

Closed
zrcoder opened this issue Sep 19, 2020 · 0 comments
Closed

"<-" in loop #13

zrcoder opened this issue Sep 19, 2020 · 0 comments

Comments

@zrcoder
Copy link
Member

zrcoder commented Sep 19, 2020

for this example:

a := [1, 3, 5, 7, 11]
b := [x*x for x <- a, x > 3]

why not use "in" instead of "<-", elements are not removed from the slice a~

closed. see HERE

@zrcoder zrcoder closed this as completed Sep 21, 2020
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