Thanks, this is useful. Is the very need of DEFGENERIC an ECL bug here? Dima
On 13 June 2015 at 15:13, Stas Boukarev <stass...@gmail.com> wrote: > Daniel Kochmański <jackdan...@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. ------------------------------------------------------------------------------ _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list