Mercurial Hosting > luan
view src/luan/modules/Table.luan @ 775:1a68fc55a80c
simplify dir structure
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 Aug 2016 14:36:40 -0600 |
parents | core/src/luan/modules/Table.luan@ca169567ce07 |
children | 6b8ea0a9b7c9 |
line wrap: on
line source
java() local TableLuan = require "java:luan.modules.TableLuan" local M = {} M.clear = TableLuan.clear M.concat = TableLuan.concat M.copy = TableLuan.copy M.insert = TableLuan.insert M.new_property_table = TableLuan.new_property_table M.pack = TableLuan.pack M.remove = TableLuan.remove M.sort = TableLuan.sort M.unpack = TableLuan.unpack local Luan = require "luan:Luan.luan" local pairs = Luan.pairs function M.is_empty(t) return pairs(t)() == nil end return M