diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-06-06 16:40:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-06-06 16:40:35 -0700 |
commit | f79ae9ea548af8969db789dac4222b54641c922b (patch) | |
tree | 03b8e102894b5e61fc721f6a00d2e9117088c9e9 /shell | |
parent | 86f97442575ec383bbed314df662c897b3b11688 (diff) | |
download | mu-f79ae9ea548af8969db789dac4222b54641c922b.tar.gz |
.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/data.limg | 4 |
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 |