[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-11-gd61d66

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-11-gd61d668
Date: Wed, 16 Nov 2011 12:34:01 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  d61d6686543c9656d2a7273e104172052f951f7c (commit)
      from  ee15aa46e3fb29e609bd7c431e8f2676f6573d57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d61d6686543c9656d2a7273e104172052f951f7c
Author: Andy Wingo <address@hidden>
Date:   Wed Nov 16 13:33:52 2011 +0100

    memoize: booleanify the rest arg
    * libguile/memoize.c (memoize): Turn the rest arg into a boolean.  Fixes
      an error when rest gets passed to set-procedure-minimum-arity!.


Summary of changes:
 libguile/memoize.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/memoize.c b/libguile/memoize.c
index 0b1aa51..911d972 100644
--- a/libguile/memoize.c
+++ b/libguile/memoize.c
@@ -277,7 +277,7 @@ memoize (SCM exp, SCM env)
         int nreq, nopt, ntotal;
         req = REF (exp, LAMBDA_CASE, REQ);
-        rest = REF (exp, LAMBDA_CASE, REST);
+        rest = scm_not (scm_not (REF (exp, LAMBDA_CASE, REST)));
         opt = REF (exp, LAMBDA_CASE, OPT);
         kw = REF (exp, LAMBDA_CASE, KW);
         inits = REF (exp, LAMBDA_CASE, INITS);

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]