view core/src/luan/modules/Table.luan @ 498:ee55be414a34

Http.response is now mostly luan
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 18 May 2015 00:25:35 -0600
parents 55f9f74f1e55
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