about summary refs log tree commit diff stats
path: root/mu.arc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-12-12 18:07:30 -0800
committerKartik K. Agaram <vc@akkartik.com>2014-12-12 18:07:30 -0800
commit0ca35d02df358b73f4e2c6c665226d2d56c61fdd (patch)
treeca13b1a2560b72ebccbde317cc91e52da2d4b7d2 /mu.arc
parentac32d9d197c6fb45849b13e5affd0e5999c5cd09 (diff)
downloadmu-0ca35d02df358b73f4e2c6c665226d2d56c61fdd.tar.gz
403 - 'function' is more clear than 'def'
Diffstat (limited to 'mu.arc')
-rw-r--r--mu.arc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mu.arc b/mu.arc
index 8f59a317..3f7fddbf 100644
--- a/mu.arc
+++ b/mu.arc
@@ -1317,13 +1317,13 @@
 (def add-code (forms)
   (each (op . rest)  forms
     (case op
-      ; syntax: def <name> [ <instructions> ]
+      ; syntax: function <name> [ <instructions> ]
       ; don't apply our lightweight tools just yet
-      def!
+      function!
         (let (name (_make-br-fn body))  rest
           (assert (is 'make-br-fn _make-br-fn))
           (= function*.name body))
-      def
+      function
         (let (name (_make-br-fn body))  rest
           (assert (is 'make-br-fn _make-br-fn))
           (= function*.name (join body function*.name)))