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

Ron Garret ron at flownet.com
Wed Jan 9 14:43:03 PST 2013


OK, I concede the point.

On Jan 9, 2013, at 2:30 PM, Tim Bradshaw wrote:

> On 9 Jan 2013, at 16:19, Tom Emerson wrote:
> 
>> 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.
> 
> Right.  And the answer to the don't-evaluate-needlessly thing is right there: don't patch up things to have peculiar and idiosyncratic semantics (ie don't make (< x y z) and (funcall #'< x y z) have different semantics), but implement a lazy dialect of Lisp which brings this benefit to *all* functions, for free.
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list