Y
Hacker News
new
|
ask
|
show
|
jobs
by
ponzao
4911 days ago
You are comparing an array of integers with an integer. You would want to do this instead:
for (y <- x if y > 2) ...