[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Broken CVS-guile?
From: |
rm |
Subject: |
Broken CVS-guile? |
Date: |
Tue, 5 Sep 2000 19:47:53 +0200 |
User-agent: |
Mutt/1.0.1i |
Hello all,
i just run the following code with the
latest CVS guile:
*-----------------------------------------------
|
| (use-modules (ice-9 syncase))
|
| (define-syntax my-inc
| (syntax-rules ()
| ((my-inc n) (+ n 1))))
|
and get the following error:
*-----------------------------------------------
|
| ERROR: In procedure gensym in expression (gensym id207 generated-symbols):
| ERROR: Wrong type argument: tmp
| ABORT: (wrong-type-arg)
|
I'm pretty dumb when it comes to interpreters this is what
i tracked down so far:
It seems that the test for SCM_VALIDATE_ROSTRING in libguile/symbols.c
SCM_DEFINE (scm_gensym, "gensym", 0, 2, 0, (SCM name, SCM obarray) fails
on symbols. I had similar problems with 'string-append' after M.D. changed
the string handling code recently. Now--is this a bug or a feature?
Ralf