7 ms·
You are comparing an array of integers with an integer. You would want to do this instead: for (y <- x if y > 2) ...
by ponzao 14y ago
You are comparing an array of integers with an integer. You would want to do this instead:
for (y <- x if y > 2) ...