[Openmcl-devel] Shortcircuiting of argument evaluation in #'<

Tom Emerson tremerson at gmail.com
Wed Jan 9 08:19:10 PST 2013


On Wed, Jan 9, 2013 at 11:10 AM, Ron Garret <ron at flownet.com> wrote:
> Well, this is a very tricky situation.  If you just made them special operators then
> you could no longer FUNCALL or APPLY them, and that would surely cause
> even worse breakage.  I would have to think about how one would actually go
> about fixing this problem the Right Way.

Exactly. I like the consistency, even if it leads to dead-code being evaluated.

Common Lisp doesn't use lazy semantics for function calls, so CCL is
behaving incorrectly. Both SBCL and LispWorks work correctly (per the
HyperSpec) with the original example.

-- 
Tom Emerson
tremerson at gmail.com
http://www.dreamersrealm.net/tree



More information about the Openmcl-devel mailing list