Fwd: Re: [r6rs-discuss] [Formal] Rename named `let'

From: Lynn Winebarger <owinebar>
Date: Thu Jan 25 16:44:55 2007

Quoting Michael Sperber <sperber_at_informatik.uni-tuebingen.de>:
>
> The fact that the convenient syntax for writing recursive procedures
> is part of `let' is a long-standing wart in the syntax of Scheme. It
> is unintuitive (it expands into `letrec', rather than a simpler form
> of `let), difficult to explain to newcomers to Scheme, and
> disconcerting to the casual reader.
>

    Let me say, as a heavy user of Scheme and named let,
"NNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!".
    In this case, the non-uniformity of the syntax is not a wart. It
is deliciously correct, short and sweet. A "rec" form would not (in
its usual incarnation) let you put initial values in the parameters,
which is exactly what makes named let so great. letrec is so ugly when
used for the same purposes.
    Oh, and named let is not another name for "loop". It's for
recursion every which way you want it.
    Please, please, do not take named let away from me!

Thanks for your consideration,
Lynn
Received on Thu Jan 25 2007 - 16:44:29 UTC

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