[Ecls-list] porting to ecl question: "lambda lists are not congruent"
Stas Boukarev
stassats at gmail.com
Sat Jun 13 14:17:11 UTC 2015
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.
Moreover, this is a bug in ECL, the generic function created through a
DEFMETHOD with &key should have no &key arguments, just &key.
--
With best regards, Stas.
More information about the ecl-devel
mailing list