unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* letrec bug
@ 2008-10-28 20:24 Bill Schottstaedt
  2008-10-28 21:19 ` Mikael Djurfeldt
  0 siblings, 1 reply; 8+ messages in thread
From: Bill Schottstaedt @ 2008-10-28 20:24 UTC (permalink / raw)
  To: bug-guile

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 (# #) y):
standard input:2:14: Variable used before given a value: x
ABORT: (unbound-variable)






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-03 23:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 20:24 letrec bug Bill Schottstaedt
2008-10-28 21:19 ` Mikael Djurfeldt
2008-10-28 21:21   ` Mikael Djurfeldt
2008-10-28 21:27     ` Mikael Djurfeldt
2008-10-28 22:48       ` Bill Schottstaedt
2008-10-30 15:31         ` Marijn Schouten (hkBst)
2008-10-30 20:13           ` Ludovic Courtès
2008-11-03 23:29             ` Marijn Schouten (hkBst)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).