]> gitweb.factorcode.org Git - factor.git/commitdiff
Fixing rest-lambda
authorJames Cash <james.nvc@gmail.com>
Sat, 7 Jun 2008 16:36:37 +0000 (12:36 -0400)
committerJames Cash <james.nvc@gmail.com>
Wed, 11 Jun 2008 05:33:55 +0000 (01:33 -0400)
extra/lisp/lisp.factor

index 809b9498d2a155970b1697e6759e06e904583f3e..941386beb1576151965c2548402f5de70f21efc2 100644 (file)
@@ -43,7 +43,7 @@ DEFER: define-lisp-macro
     
 : rest-lambda ( body vars -- quot )
     "&rest" swap [ index ] [ remove ] 2bi
-    localize-lambda <lambda>
+    swapd localize-lambda <lambda>
     '[ , cut '[ @ , ] , compose ] ;
     
 : normal-lambda ( body vars -- quot )