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 (# #)
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
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
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))
I read those same paragraphs and interpreted them differently,
but now I agree with you.