List comprehensions and impredicative rank-N types