[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
string-index defined twice?
From: |
Eric Gillespie, Jr. |
Subject: |
string-index defined twice? |
Date: |
Sun, 25 Nov 2001 17:51:23 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (asparagus) |
% guile
guile> string-index
#<primitive-procedure string-index>
guile> (string-index "/path/to/blah" #\/ 1)
5
guile> (use-modules (ice-9 slib))
guile> (require 'cgi)
guile> string-index
#<procedure string-index (str a-char)>
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?
Thanks.
--
Eric Gillespie, Jr. <*> address@hidden
"I wish people didn't exist."
- string-index defined twice?,
Eric Gillespie, Jr. <=