Convert to a list comprehension.