An implementation of linq-like functions for lua