Breaking up list comprehensions