goplus / www

Source code of https://goplus.org/

Home Page:https://goplus.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"<-" in loop

zrcoder opened this issue · comments

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