Don't mistake `for' inside a function for a part of array comprehension