On Wed, Dec 21, 2011 at 7:30 PM, Ryan Davis ryan@acceleration.net wrote:
This patch (created using git format-patch origin/master) converts ENSURE-GETHASH to a macro that only evaluates the default if we get to the setf branch. Has a check to create and call a lambda if the default value looks complicated (using CONSTANTP).
[...]
Thoughts?
I'd like to see this in alexandria, as it is a very common idiom for me.
-Hans