about summary refs log tree commit diff stats
path: root/lua/chupacabra/repl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/chupacabra/repl.lua')
-rw-r--r--lua/chupacabra/repl.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/chupacabra/repl.lua b/lua/chupacabra/repl.lua
index 55e10a4..6abbf46 100644
--- a/lua/chupacabra/repl.lua
+++ b/lua/chupacabra/repl.lua
@@ -2,14 +2,14 @@ local chupacabra = require("chupacabra")
 
 -- not a great, but a passable repl
 local function table_to_string(t)
-    local str = "{"
+    local str = "["
     for i, v in ipairs(t) do
         if i > 1 then
-            str = str .. ", "
+            str = str .. " "
         end
         str = str .. tostring(v)
     end
-    str = str .. "}"
+    str = str .. "]"
     return str
 end