letrec bug

2008-10-28 Thread Bill Schottstaedt
I believe this shows a bug in letrec: guile (let ((x 1)) (let ((x 32) (y x)) y)) 1 guile (let ((x 1)) (letrec ((x 32) (y x)) y)) Backtrace: In standard input: 2: 0* (let* ((x 1)) (letrec ((x 32) (y x)) y)) 2: 1 (letrec ((x 32) (y x)) y) standard input:2:14: In expression (letrec (# #)

Re: letrec bug

2008-10-28 Thread Mikael Djurfeldt
2008/10/28 Mikael Djurfeldt [EMAIL PROTECTED]: 2008/10/28 Mikael Djurfeldt [EMAIL PROTECTED]: 2008/10/28 Bill Schottstaedt [EMAIL PROTECTED]: I believe this shows a bug in letrec: guile (let ((x 1)) (let ((x 32) (y x)) y)) 1 guile (let ((x 1)) (letrec ((x 32) (y x)) y)) Backtrace: In

Re: letrec bug

2008-10-28 Thread Mikael Djurfeldt
2008/10/28 Mikael Djurfeldt [EMAIL PROTECTED]: 2008/10/28 Bill Schottstaedt [EMAIL PROTECTED]: I believe this shows a bug in letrec: guile (let ((x 1)) (let ((x 32) (y x)) y)) 1 guile (let ((x 1)) (letrec ((x 32) (y x)) y)) Backtrace: In standard input: 2: 0* (let* ((x 1)) (letrec ((x

Re: letrec bug

2008-10-28 Thread Mikael Djurfeldt
2008/10/28 Bill Schottstaedt [EMAIL PROTECTED]: I believe this shows a bug in letrec: guile (let ((x 1)) (let ((x 32) (y x)) y)) 1 guile (let ((x 1)) (letrec ((x 32) (y x)) y)) Backtrace: In standard input: 2: 0* (let* ((x 1)) (letrec ((x 32) (y x)) y)) 2: 1 (letrec ((x 32) (y x))

Re: letrec bug

2008-10-28 Thread Bill Schottstaedt
I read those same paragraphs and interpreted them differently, but now I agree with you.