[Ecls-list] porting to ecl question: "lambda lists are not	congruent"
    Stas Boukarev 
    stassats at gmail.com
       
    Sat Jun 13 14:13:52 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.
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