Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
496:c65df5b25932 | 497:55f9f74f1e55 |
---|---|
8 pack = TableLuan.pack | 8 pack = TableLuan.pack |
9 remove = TableLuan.remove | 9 remove = TableLuan.remove |
10 sort = TableLuan.sort | 10 sort = TableLuan.sort |
11 sub_list = TableLuan.sub_list | 11 sub_list = TableLuan.sub_list |
12 unpack = TableLuan.unpack | 12 unpack = TableLuan.unpack |
13 | |
14 | |
15 local Luan = require "luan:Luan" | |
16 local pairs = Luan.pairs | |
17 | |
18 function is_empty(t) | |
19 return pairs(t)() == nil | |
20 end |