This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Broken CVS-guile?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]