Autocomplete, currying, list comprehension