[Ecls-list] porting to ecl question: "lambda lists are not congruent"

Dima Pasechnik dimpase+ecl at gmail.com
Sun Jun 14 11:05:46 UTC 2015

Thanks, this is useful.
Is the very need of DEFGENERIC an ECL bug here?


On 13 June 2015 at 15:13, Stas Boukarev <stassats at gmail.com> wrote:
> Daniel Kochmański <jackdaniel at hellsgate.pl> writes:
>> Hello,
>> problem is that you define two methods #'build-hmeq, where parameter
>> lists are not congruent. Quick fix is to def generic method inbefore
>> like this:
>> (defgeneric build-hmeq (keyword lrdct &key &allow-other-keys)
>>   (:documentation "xyz"))
>> apparently tested lisp implementations make generic with
>> &allow-other-keys automatically.
> There should be no &allow-other-keys, just &key in the defgeneric, which
> will allow all the &keys specified by the methods. &allow-other-keys
> will allow any keys.
> --
> With best regards, Stas.

More information about the ecl-devel mailing list