I have been learning about table constructors in Lua from <http://www.lua.org/pil/3.6.html> and I can't understand the difference between these two pieces of code.

```
--between code I've written--    
list = nil
for line in io.lines() do
list = {value=line}
end

l = list
while l do
print(l.value)
end

--and between code they have written--
list = nil
for line in io.lines() do
list = {next=list, value=line}
end

l = list
while l do
print(l.value)
l = l.next
end

```