about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-04 16:41:18 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-04 16:41:18 -0700
commitcfb5dbce59de941bf81bb5c7859945d58d0c6e65 (patch)
treec502317128b0065f92081055e11004936165f796
parente683a3fdee9cb11ea713a20a47163384ac5c75ad (diff)
downloadmu-cfb5dbce59de941bf81bb5c7859945d58d0c6e65.tar.gz
.
-rw-r--r--shell/data.limg4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/data.limg b/shell/data.limg
index ef8c4828..21d54749 100644
--- a/shell/data.limg
+++ b/shell/data.limg
@@ -2,8 +2,8 @@
   (globals . (
     (mac . [(define mac (litmac litfn () (name params . body)
   `(define ,name (litmac litfn () ,params ,@body))))])
-    (def . [(define def (litmac litfn () ((name . params) . body)
-  `(define ,name (fn ,params ,@body))))])
+    (def . [(mac def ((name . params) . body)
+  `(define ,name (fn ,params ,@body)))])
     (do . [(mac do body `((fn () ,@body)))])
     (let . [(mac let (var val . body)
   `((fn (,var) ,@body) ,val))])