Message from discussion Apply-macro?
From: Kent M Pitman <pit...@world.std.com>
Subject: Re: Apply-macro?
Sender: pit...@world.std.com (Kent M Pitman)
References: <3641EBDD.3C20@cs.uu.nl> <364220CE.3C60E46D@IntelliMarket.Com>
Organization: The World Public Access UNIX, Brookline, MA
Kelly Murray <k...@IntelliMarket.Com> writes:
> (loop for val in lst
> (if val (return t))))
Actually, (loop for val in lst thereis val) is the OR thing,
and (loop for val in lst always val) is the AND thing
if you prefer to use loop.
It even does the right thing with the OR'd return value in THEREIS,
i.e., (loop for x in '(nil nil 3 4) thereis x) => 3
I still tend to use SOME and EVERY but not for any principled reason.
The reason there are several tools is to accomodate personal taste.