Mercurial Hosting > luan
comparison core/src/luan/modules/Debug.luan @ 322:f8ece87df2b1
minor fixes
git-svn-id: https://luan-java.googlecode.com/svn/trunk@323 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 08 Feb 2015 22:03:27 +0000 |
parents | 7f7708e8fdd4 |
children | db37d6aee4db |
comparison
equal
deleted
inserted
replaced
321:7f7708e8fdd4 | 322:f8ece87df2b1 |
---|---|
1 local Table = require "luan:Table" | 1 local Luan = require "luan:Luan" |
2 local load = Luan.load | |
2 local Io = require "luan:Io" | 3 local Io = require "luan:Io" |
3 local print = Io.print | 4 local print = Io.print |
5 local Table = require "luan:Table" | |
4 | 6 |
5 | 7 |
6 function print_if_something(...) | 8 function print_if_something(...) |
7 if Table.pack(...).n > 0 then | 9 if Table.pack(...).n > 0 then |
8 print(...) | 10 print(...) |