[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-index defined twice?
From: |
Marius Vollmer |
Subject: |
Re: string-index defined twice? |
Date: |
27 Nov 2001 23:27:19 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Chris Cramer <address@hidden> writes:
> On Sun, Nov 25, 2001 at 05:51:23PM -0500, Eric Gillespie, Jr. wrote:
> > guile> (string-index "/path/to/blah" #\/ 1)
> > ERROR: In expression (string-index "/path/to/blah" #\/ ...):
> > ERROR: Wrong number of arguments to #<procedure string-index (str a-char)>
> > ABORT: (wrong-number-of-args)
> >
> > Type "(backtrace)" to get more information or "(debug)" to enter the
> > debugger.
> >
> > This happens with both Guile 1.4 and 1.5.4. I found the
> > redefinition of string-index in ice-9/format.scm. Which
> > definition is correct? Can this be fixed before 1.6?
>
> It looks like the string-index in format.scm should be removed. It's
> probably just left over from SLIB.
Yes, and it isn't even _used_ by format.scm. But the string-index
from format.scm is probably not the problem here since it is not
exported from (ice-9 format).