This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Broken CVS-guile?
- To: guile-user at gnu dot org
- Subject: Broken CVS-guile?
- From: rm at mamma dot varadinet dot de
- Date: Tue, 5 Sep 2000 19:47:53 +0200
- List-Id: <guile-user.gnu.org>
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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user