LINQ like list processing for lua