On Sun, Jun 12, 2011 at 7:08 PM, Faré wrote:
> Also, binding forms are annoying in that they are verbose
> and move the body to the right as you nest them.
> Instead of any ad-hoc do-it-all binding macro,
> I like this macro from Marco Baringer that does nesting for you:
>
> (defmacro with-nesting
Hi Scott,
> In case anyone's interested, it's at
> http://common-lisp.net/project/misc-extensions/
>
>
In the spirit of tooting my own horn, you might also want to see metabang-bind
(http://common-lisp.net/project/metabang-bind).
--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (
On Sun, Jun 12, 2011 at 1:17 PM, Gary King wrote:
> In the spirit of tooting my own horn, you might also want to see
> metabang-bind (http://common-lisp.net/project/metabang-bind).
I'm aware of it, thanks. I'm afraid I'm quite attached to my own LET
macro, of which I wrote the first version in
On Sun, Jun 12, 2011 at 7:00 AM, Daniel Weinreb wrote:
> I, myself, really dislike &aux.
>
> I don't even like
>
> (let (a b c) ...)
Agreed on both counts. &aux is just gross. Like LOOP :-)
As for read-only variables -- yes, it would have been nice if Lisp had
used ML-style references(*) from
What I dislike about &aux is that it encourages scoping a lexical variable
around the entire lambda body. I prefer whenever possible to scope a local
variable over the smallest region in which it is referenced. While this adds
more let forms to the code, it makes the code easier to read. One know
On 12 June 2011 10:00, Daniel Weinreb wrote:
> I, myself, really dislike &aux. It has been so long
> since I have seen it that I have forgotten that
> it even exists. We never use it; and I should
> add that to our style guide.
>
&aux has its uses. Sometimes it can be clearer than adding a let.
I, myself, really dislike &aux. It has been so long
since I have seen it that I have forgotten that
it even exists. We never use it; and I should
add that to our style guide.
I don't even like
(let (a b c) ...)
since I prefer to think of "let" in the Scheme sense
of "I am naming the result of