[Top][All Lists]

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

Re: bug: list-index overloaded

From: Neil Jerram
Subject: Re: bug: list-index overloaded
Date: Mon, 27 Nov 2006 21:51:47 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Andy Wingo <address@hidden> 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

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?


reply via email to

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