unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: 10938@debbugs.gnu.org
Subject: bug#10938: patch
Date: Sun, 4 Mar 2012 13:23:58 +0100	[thread overview]
Message-ID: <CAGua6m2DueQPa10zjN+MeQn7n=9eSgHdet2xyxuAY5BUtAyxaw@mail.gmail.com> (raw)
In-Reply-To: <CAGua6m0yRG+O=gLnatBwmSjo1BHQF7T8VxJ1xosRB5WXiK6CMg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 120 bytes --]

Sorry I posted a version of session.scm with a prtly fix included
anyway here is a patch where we add allow-other-keys?

[-- Attachment #1.2: Type: text/html, Size: 131 bytes --]

[-- Attachment #2: session.diff --]
[-- Type: text/x-patch, Size: 743 bytes --]

diff --git a/module/ice-9/session.scm b/module/ice-9/session.scm
index fbb03d2..dc2c927 100644
--- a/module/ice-9/session.scm
+++ b/module/ice-9/session.scm
@@ -504,13 +504,14 @@ It is an image under the mapping EXTRACT."
 if the information cannot be obtained.
 
 The alist keys that are currently defined are `required', `optional',
-`keyword', and `rest'."
+`keyword', allow-other-keys? and `rest'."
   (cond
    ((procedure-property proc 'arglist)
     => (lambda (arglist)
          `((required . ,(car arglist))
            (optional . ,(cadr arglist))
            (keyword . ,(caddr arglist))
+           (allow-other-keys? . ,(cadddr arglist))
            (rest . ,(car (cddddr arglist))))))
    ((procedure-source proc)
     => cadr)

  reply	other threads:[~2012-03-04 12:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 12:15 bug#10938: procedure-arguments return differnet output when procedure-property is used Stefan Israelsson Tampe
2012-03-04 12:23 ` Stefan Israelsson Tampe [this message]
2012-03-05 16:59   ` bug#10938: patch Ludovic Courtès
2012-03-10 15:40     ` Stefan Israelsson Tampe
2012-07-02 13:11       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGua6m2DueQPa10zjN+MeQn7n=9eSgHdet2xyxuAY5BUtAyxaw@mail.gmail.com' \
    --to=stefan.itampe@gmail.com \
    --cc=10938@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).