Re: Named let

2000-08-06 Thread Marius Vollmer
Marius Vollmer [EMAIL PROTECTED] writes: Keisuke Nishida [EMAIL PROTECTED] writes: Hello, Is this a bug? % guile guile (let loop ((foo loop)) foo) #procedure loop (foo) R5RS says variable is bound within body. [rubish] Sorry, I did not look close enough what

Named let

2000-08-05 Thread Keisuke Nishida
Hello, Is this a bug? % guile guile (let loop ((foo loop)) foo) #procedure loop (foo) R5RS says variable is bound within body.

Re: Named let

2000-08-05 Thread Marius Vollmer
? According to the formal semantics in R5RS, the named let expression above is equivalent to (letrec ((loop (lambda (foo) foo))) (loop loop)) As you can see, the initialization expressions are evaluated in the body of the `letrec', and `loop' is clearly bound there. So I would say that your