]> gitweb.factorcode.org Git - factor.git/commitdiff
Minor changes to lisp
authorJames Cash <james.nvc@gmail.com>
Thu, 19 Jun 2008 18:32:46 +0000 (14:32 -0400)
committerJames Cash <james.nvc@gmail.com>
Sun, 24 Aug 2008 03:13:24 +0000 (23:13 -0400)
extra/lisp/lisp.factor

index 15b8b15b91cb12066e14e2a4102962448e32926a..802b236b256e3b2f85d4f85ae2c5a6089c58e43d 100644 (file)
@@ -64,7 +64,7 @@ PRIVATE>
     cdr [ car ] keep [ convert-lambda ] [ car name>> ] bi define-lisp-macro 1quotation ;
     
 : macro-expand ( cons -- quot )
-    uncons [ list>seq >quotation ] [ lookup-macro call ] bi* call call convert-form ;
+    uncons [ list>seq >quotation ] [ lookup-macro call ] bi* call convert-form ;
     
 : form-dispatch ( cons lisp-symbol -- quot )
     name>>
@@ -129,7 +129,7 @@ M: no-such-var summary drop "No such variable" ;
     dup lisp-symbol? [ lookup-var ] when curry call ; inline
     
 : define-primitive ( name vocab word -- )  
-    swap lookup 1quotation '[ , compose call ] swap lisp-define ; ! '[ , compose call ] swap lisp-define ;
+    swap lookup 1quotation '[ , compose call ] swap lisp-define ;
     
 : lookup-macro ( lisp-symbol -- lambda )
     name>> macro-env get at ;