Re: letrec semantics

2022-11-28 Thread Taylan Kammer
On 28.11.2022 09:33, Alexander Asteroth wrote: > >> scheme@(guile-user)> (letrec ((b a)(a 7)) b) >> $1 = 7 > > should be equivalent (of course in a new scope) to: > >> scheme@(guile-user)> (define b #nil) >> scheme@(guile-user)> (define a #nil) >> scheme@(guile-user)> (set! b a) >> scheme@(guile

Re: letrec semantics

2022-11-28 Thread Jean Abou Samra
Le 28/11/2022 à 09:33, Alexander Asteroth a écrit : Dear all, I know this topic has been discussed in the past. I found at least one discussion in 2003 inguile-u...@gnu.org which in the end referred to even earlier discussions in comp.lang.scheme. But still I'm confused about this and wonder if

letrec semantics

2022-11-28 Thread Alexander Asteroth
Dear all, I know this topic has been discussed in the past. I found at least one discussion in 2003 in guile-user@gnu.org which in the end referred to even earlier discussions in comp.lang.scheme. But still I'm confused about this and wonder if someone could help with this or point me to a discuss