unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel@gnu.org
Subject: Re: bug: list-index overloaded
Date: Mon, 27 Nov 2006 21:51:47 +0000	[thread overview]
Message-ID: <87psb8mubw.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <1164626321.3756.20.camel@localhost.localdomain> (Andy Wingo's message of "Mon, 27 Nov 2006 12:18:41 +0100")

Andy Wingo <wingo@pobox.com> writes:

> Hi Han-Wen,
>
> On Sun, 2006-11-26 at 15:28 +0100, Han-Wen Nienhuys wrote:
>> ice-9/boot.scm defines a list-index (list, elt), which is in conflict
>> with srfi's list-index (pred list) function.
>> 
>> please fix.
>
> This has been the case for a long time, and would be an incompatible
> change, breaking code in not-very-comprehensible ways. Sometimes I avoid
> importing srfi-1 for this reason. Perhaps for Rob's 2.0 vision?

In any case, I'm afraid I still don't understand what the problem is
here.

If someone wants the boot-9 list-index, and doesn't also need to use
srfi-1: no problem.

If someone wants the srfi-1 list-index, and doesn't also need the
boot-9 one, they just (use-modules (srfi srfi-1)) - no problem.

If someone wants to use both in the same program, they either give a
new name to the boot-9 one before doing (use-modules (srfi srfi-1)),
or they perform a renaming when doing (use-modules (srfi srfi-1)).

So what's the issue?

Regards,
     Neil



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


  reply	other threads:[~2006-11-27 21:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26 14:28 bug: list-index overloaded Han-Wen Nienhuys
2006-11-26 16:25 ` Neil Jerram
2006-11-26 16:43   ` Han-Wen Nienhuys
2006-11-27 11:18 ` Andy Wingo
2006-11-27 21:51   ` Neil Jerram [this message]
2006-11-28 20:12   ` Kevin Ryde

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=87psb8mubw.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@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).