[Ecls-list] Using FUNCTION-LAMBDA-LIST
Goffioul Michael
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
declaration.
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
FUNCTION-LAMBDA-EXPRESSION
returns non NIL
or
2) add a flag to FUNCTION-LAMBDA-LIST to force lambda list recomputation
from the bytecode
or
3) a mix of 1) and 2)
Michael.
More information about the ecl-devel
mailing list