bug#37461: define-generic doesn't promote equal? to generic

2019-09-28 Thread Rob Browning
Mikael Djurfeldt writes: > You see, I was under the impression that primitive-generic capability had > been removed for equal?. It has not. It's only the printed representation > which has changed. Ahh, right -- that confused me at first too. > One way to view this is that the dispatch of

bug#37461: define-generic doesn't promote equal? to generic

2019-09-28 Thread Mikael Djurfeldt
On Mon, Sep 23, 2019 at 5:01 PM Mikael Djurfeldt wrote: > > (define-method (equal? (a ) (b )) ...) > > on the other hand, means that you want to *extend* the current behavior of > equal? with a specialization to two strings. The method is then added to > equal?, which in guile-1.8 was from