2011-10-13 04:03:10 +00:00
|
|
|
local f
|
|
|
|
f = function(...)
|
|
|
|
return #{
|
|
|
|
...
|
|
|
|
}
|
|
|
|
end
|
|
|
|
local dont_bubble
|
|
|
|
dont_bubble = function()
|
|
|
|
return (function()
|
|
|
|
local _accum_0 = { }
|
2013-01-12 21:01:34 +00:00
|
|
|
local _len_0 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
for x in (function(...)
|
|
|
|
return print(...)
|
|
|
|
end)("hello") do
|
|
|
|
_accum_0[_len_0] = x
|
2013-01-12 21:01:34 +00:00
|
|
|
_len_0 = _len_0 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
return _accum_0
|
|
|
|
end)()
|
|
|
|
end
|
2013-06-11 02:57:01 +00:00
|
|
|
local k = { }
|
|
|
|
local _len_0 = 1
|
|
|
|
for x in (function(...)
|
|
|
|
return print(...)
|
|
|
|
end)("hello") do
|
|
|
|
k[_len_0] = x
|
|
|
|
_len_0 = _len_0 + 1
|
|
|
|
end
|
2011-10-13 04:03:10 +00:00
|
|
|
local j = (function()
|
|
|
|
local _accum_0 = { }
|
2013-06-11 02:57:01 +00:00
|
|
|
local _len_1 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
for i = 1, 10 do
|
2013-06-11 02:57:01 +00:00
|
|
|
_accum_0[_len_1] = function(...)
|
2011-10-13 04:03:10 +00:00
|
|
|
return print(...)
|
|
|
|
end
|
2013-06-11 02:57:01 +00:00
|
|
|
_len_1 = _len_1 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
return _accum_0
|
|
|
|
end)()
|
|
|
|
local m
|
|
|
|
m = function(...)
|
2012-10-28 08:50:22 +00:00
|
|
|
return (function(...)
|
2011-10-13 04:03:10 +00:00
|
|
|
local _accum_0 = { }
|
2013-06-11 02:57:01 +00:00
|
|
|
local _len_1 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
local _list_0 = {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
for _index_0 = 1, #_list_0 do
|
|
|
|
local x = _list_0[_index_0]
|
|
|
|
if f(...) > 4 then
|
2013-06-11 02:57:01 +00:00
|
|
|
_accum_0[_len_1] = x
|
|
|
|
_len_1 = _len_1 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
return _accum_0
|
2012-10-28 08:50:22 +00:00
|
|
|
end)(...)
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
local x = (function(...)
|
|
|
|
local _accum_0 = { }
|
2013-06-11 02:57:01 +00:00
|
|
|
local _len_1 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
local _list_0 = {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
for _index_0 = 1, #_list_0 do
|
|
|
|
local i = _list_0[_index_0]
|
2013-06-11 02:57:01 +00:00
|
|
|
_accum_0[_len_1] = i
|
|
|
|
_len_1 = _len_1 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
return _accum_0
|
|
|
|
end)(...)
|
2013-06-11 02:57:01 +00:00
|
|
|
local y = { }
|
|
|
|
local _len_1 = 1
|
|
|
|
local _list_0 = {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
for _index_0 = 1, #_list_0 do
|
|
|
|
x = _list_0[_index_0]
|
|
|
|
y[_len_1] = x
|
|
|
|
_len_1 = _len_1 + 1
|
|
|
|
end
|
|
|
|
local z = { }
|
|
|
|
local _len_2 = 1
|
|
|
|
for x in hallo do
|
|
|
|
if f(...) > 4 then
|
|
|
|
z[_len_2] = x
|
|
|
|
_len_2 = _len_2 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
2013-06-11 02:57:01 +00:00
|
|
|
end
|
2011-10-13 04:03:10 +00:00
|
|
|
local a = (function(...)
|
|
|
|
local _accum_0 = { }
|
2013-06-11 02:57:01 +00:00
|
|
|
local _len_3 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
for i = 1, 10 do
|
2013-06-11 02:57:01 +00:00
|
|
|
_accum_0[_len_3] = ...
|
|
|
|
_len_3 = _len_3 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
return _accum_0
|
|
|
|
end)(...)
|
2012-10-28 08:50:22 +00:00
|
|
|
local b = (function()
|
2011-10-13 04:03:10 +00:00
|
|
|
local _accum_0 = { }
|
2013-06-11 02:57:01 +00:00
|
|
|
local _len_3 = 1
|
2011-10-13 04:03:10 +00:00
|
|
|
for i = 1, 10 do
|
2013-06-11 02:57:01 +00:00
|
|
|
_accum_0[_len_3] = function()
|
2011-10-13 04:03:10 +00:00
|
|
|
return print(...)
|
|
|
|
end
|
2013-06-11 02:57:01 +00:00
|
|
|
_len_3 = _len_3 + 1
|
2011-10-13 04:03:10 +00:00
|
|
|
end
|
|
|
|
return _accum_0
|
2012-10-28 08:50:22 +00:00
|
|
|
end)()
|