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

MacIvory conversion experience



Your HIDDEN-ADVISE is pretty nice, but it suffers from one flaw.
Sometimes I have used advise to allow a function to take a different
number of arguments than the original DEFUN specifies.
DESTRUCTURING-BIND will signal an error if the arguments and pattern
don't match.

There's actually a simple solution, though: ZL:DESTRUCTURING-BIND isn't
as picky about the arguments matching, but otherwise is similar to
DESTRUCTURING-BIND.

I generally like the idea of advice being able to access all the
arguments by name, though, not just the implicit ones used by flavors
and lexical closures.  Do you think you could consider something like
Juergen's code for a future enhancement to advice?

                                                barmar