about summary refs log tree commit diff stats
path: root/shell/data.limg
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-25 14:40:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-25 16:24:45 -0700
commit170b6787c5190fa34cc30363201238aa6d6198cb (patch)
treeefb54ce681b19b0a038e31b89df9051ce2be8f3b /shell/data.limg
parent492f7bd0b74c1e47e297b774e9eb87ae4087034a (diff)
downloadmu-170b6787c5190fa34cc30363201238aa6d6198cb.tar.gz
shell: starting to implement arrays
Diffstat (limited to 'shell/data.limg')
-rw-r--r--shell/data.limg4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/data.limg b/shell/data.limg
index 407af097..b0fc60c0 100644
--- a/shell/data.limg
+++ b/shell/data.limg
@@ -22,10 +22,6 @@
   args])
     (ret . [mac (ret var val . body)
   `(let ,var ,val ,@body ,var)])
-    (len . [def (len l)
-  if (no l)
-    0
-    (1 + (len (cdr l)))])
     (nth . [def (nth n xs)
   if (n < 1)
     (car xs)