http://qs1969.pair.com?node_id=11134474


in reply to Re^3: Using 'keys' on a list
in thread Using 'keys' on a list

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.