On Feb 25, 2011, at 19:58 , Matthew Swank wrote:
AEQUALIS a b &optional recursive-p &rest keys &key &allow-other-keys → result Note: Maybe it would make sense to supply a :key parameter (defaulting to identity) as well.
...
COMPARE a b &optional recursive-p &rest keys &key &allow-other-keys → result
What is the rationale for making recursive-p an optional argument instead of a keyword argument? It generates style warnings and makes it clumsy to delegate to aequalis/compare in other functions.
Aesthetics? It is nicer to write
(equals #((foo)) #((bar)) t)
than
(equals #((foo)) #((bar)) :recursive-p t)
What style warnings are generated and by which implementation? I don't get any.
Cheers
Marco
Matt
cdr-discuss mailing list cdr-discuss@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cdr-discuss
-- Marco Antoniotti