[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Common Lisp "let"
There is rarely ambiguity because the variable are atoms
and the values almost always expressions. If there is
ambiguity you can use extra spaces.
--Dan Weinreb wrote:
> Date: 31 May 2002 15:51:32 -0000
> From: Paul Graham <pg@archub.org>
>
> For the multi-variable case we use with, and even there we
> only need one pair of parens:
>
> (with (x 10 y 3) ...)
>
> I believe the downside of this approach is an example such as:
>
> (with (x w y z a b) ...)
>
> where it's could be easy (especially with less-trivial variable names)
> to be mistaken about which were the variables being bound and which
> were the expressions being evaluated. So I think there's a tradeoff
> here.