view core/src/luan/modules/Table.luan @ 497:55f9f74f1e55

Http.request is now pure luan
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 17 May 2015 19:25:47 -0600
parents 7fd9f1b7b878
children 92c3d22745b8
line wrap: on
line source

java()
local TableLuan = require "java:luan.modules.TableLuan"

clone = TableLuan.clone
concat = TableLuan.concat
insert = TableLuan.insert
new_property_table = TableLuan.new_property_table
pack = TableLuan.pack
remove = TableLuan.remove
sort = TableLuan.sort
sub_list = TableLuan.sub_list
unpack = TableLuan.unpack


local Luan = require "luan:Luan"
local pairs = Luan.pairs

function is_empty(t)
	return pairs(t)() == nil
end