Yes, that's the point of this syntax. It wouldn't help for the case of the OP, as the call to f() will still generate the whole list.
In reply to Re^4: Using 'keys' on a list
by Corion
in thread Using 'keys' on a list
by lammey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |