lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jun 12, 2009 at 5:12 AM, David Manura<dm.lua@math2.org> wrote:
>  for k,v in obj:it() do
>    ...
>  end

For Penlight, I've standardized on this for all collection classes.
Although list:iter() currently just runs over the values, not the
keys, whereas map:iter() goes over the key/value pairs, which could be
a suprise.