unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Subject: Re: Is ice-9/poe.scm broken?
Date: Wed, 10 Aug 2005 11:56:46 +1000	[thread overview]
Message-ID: <87u0hyo8pt.fsf@zip.com.au> (raw)
In-Reply-To: <42F77FAA.5020001@mail.msen.com> (Alan Grover's message of "Mon,  08 Aug 2005 11:52:10 -0400")

Alan Grover <awgrover@mail.msen.com> writes:
>
> I re-wrote enough of poe.scm to get some things working.

In the cvs head a while ago I changed funcq-assoc to the code below.
Dunno why I didn't do the same in 1.6 (maybe the hashx stuff has
problems too).  You're right that it doesn't work.


;; return true if lists X and Y are the same length and each element
;; is `eq?'
(define (eq?-list x y)
  (if (null? x)
      (null? y)
      (and (not (null? y))
           (eq? (car x) (car y))
           (eq?-list (cdr x) (cdr y)))))

(define (funcq-assoc arg-list alist)
  (if (null? alist)
      #f
      (if (eq?-list arg-list (caar alist))
          (car alist)
          (funcq-assoc arg-list (cdr alist)))))


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2005-08-10  1:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 15:52 Is ice-9/poe.scm broken? Alan Grover
2005-08-10  1:56 ` Kevin Ryde [this message]
2005-08-10 22:33   ` Marius Vollmer
2005-08-13  0:46     ` Kevin Ryde
2005-08-13 10:50       ` Marius Vollmer
  -- strict thread matches above, loose matches on Subject: below --
2005-08-08 21:53 Thien-Thi Nguyen

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=87u0hyo8pt.fsf@zip.com.au \
    --to=user42@zip.com.au \
    /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).