[r6rs-discuss] [Formal] Rename named `let'

From: Michael Sperber <sperber>
Date: Fri Jan 26 04:37:43 2007

Eli Barzilay <eli_at_barzilay.org> writes:

> If you're suggesting:
>
> (letrec loop ([x ...]) body ...)

That isn't really my preference, but it would be an improvement.

> then I don't understand how it can work in any intuitive way. Worse,
> I find it very common to write
>
> (define (tree-foo foo tree)
> (let loop ([tree tree])
> ...))
>
> which breaks if it was using a letrec.

I'm probably being dense. Why would it break? If you think I'm
suggesting a "named letrec" should expand into something that
letrec-binds `tree' (rather than just `loop'), then you're wrong.

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Fri Jan 26 2007 - 04:37:38 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC