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