[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Difference letrec & environment binding (again)
From: |
Hans Aberg |
Subject: |
Re: Difference letrec & environment binding (again) |
Date: |
Thu, 25 Aug 2011 15:42:30 +0200 |
Just FYI, I found a source saying that R5RS defines (though I could not find it
there) 'letrec' via this transformation (which also answers my question):
(letrec ([x1 e1] ... [xn en]) body)
~>
(let ([x1 undefined] ... [xn undefined])
(let ([t1 e1] ... [tn en])
(set! x1 t1)
...
(set! xn tn))
body)
Hans