about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-06 16:40:35 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-06 16:40:35 -0700
commitf79ae9ea548af8969db789dac4222b54641c922b (patch)
tree03b8e102894b5e61fc721f6a00d2e9117088c9e9 /shell
parent86f97442575ec383bbed314df662c897b3b11688 (diff)
downloadmu-f79ae9ea548af8969db789dac4222b54641c922b.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/data.limg4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/data.limg b/shell/data.limg
index 7ef4b055..092eef5c 100644
--- a/shell/data.limg
+++ b/shell/data.limg
@@ -9,7 +9,9 @@
   `((fn (,var) ,@body) ,val))])
     (when . [(mac (when cond . body)
   `(if ,cond (do ,@body) ()))])
-    (list . [(def (list . args) args)])
+    (list . [(def (list . args)
+  # we should probably make a copy here
+  args)])
     (len . [(def (len l)
   (if (no l)
     0