[Ecls-list] Using FUNCTION-LAMBDA-LIST
goffioul at imec.be
Mon Sep 11 08:25:30 UTC 2006
When using FUNCTION-LAMBDA-LIST, I noticed that it returns either the
lambda recomputed from the bytecode, or the lambda list saved when the
function was declared (when FUNCTION-LAMBDA-EXPRESSION returns non NIL).
Both are not equivalent, for instance when using &aux in the
In the first case, you don't see them, in the second case, you do.
I would tend to prefer the first solution because the &aux variable are
not part of the function interface, hence they should not be presented
to the user (in the context of calltips, this makes more sense).
Would it be possible to either:
1) strip the &aux part from the lambda list when
returns non NIL
2) add a flag to FUNCTION-LAMBDA-LIST to force lambda list recomputation
from the bytecode
3) a mix of 1) and 2)
More information about the ecl-devel