[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSL's FOR Macro

I've been trying for two weeks now to get this message through.
This is the fifth attempt; maybe this route to SU-AI will work.

Date: Tue, 18 Dec 84 16:02 EST
Subject: PSL's FOR Macro
cc: cl-iteration@SU-AI.ARPA
In-Reply-To: The message of 10 Dec 84 19:44-EST from SHEBS at UTAH-20
Message-ID: <841218160257.9.MOON@EUPHRATES.SCRC.Symbolics.COM>

I think it would be great if a Common Lisp version of PSL's FOR macro were
written and submitted to the Yellow Pages.  I also think it would be great
if there were a Yellow Pages at all!

I personally would never use this macro if I had an alternative, primarily
because of the fixed order of evaluation, which means that you can write code
that looks like it will be evaluated in a certain order, but actually it
will be evaluated in a different order, causing subtle bugs.  I also find the
syntax less readable than the syntax of LOOP, but that of course is more a
matter of personal taste than of anything that a group could agree on.