about summary refs log tree commit diff stats
path: root/life.tlv
diff options
context:
space:
mode:
Diffstat (limited to 'life.tlv')
-rw-r--r--life.tlv2
1 files changed, 1 insertions, 1 deletions
diff --git a/life.tlv b/life.tlv
index 96f5451..7680093 100644
--- a/life.tlv
+++ b/life.tlv
@@ -237,7 +237,7 @@
     >-- concatenate list 'elems' into 'l', modifying 'l' in the process
     >function append(l, elems)
     >  for i=1,#elems do
-    >    l[#l+1] = elems[i]
+    >    table.insert(l, elems[i])
     >  end
     >end
 - __teliva_timestamp: original