> > Recently I noticed, that srfi-64 `assert-equal` macro do not use
> > `equal?` that was redefinded via `define-method` in scope of invocation
> > of `assert-equal`.
> No, that’s normally not a problem: (define-method (equal? ...) ...)
> should turn the core ‘equal?’ primitive into a generic func
kact...@gnu.org skribis:
> Recently I noticed, that srfi-64 `assert-equal` macro do not use
> `equal?` that was redefinded via `define-method` in scope of invocation
> of `assert-equal`. It means, that
>
> (define e1 (make #:x 2))
> (define e2 (make #:x 2))
> (equal? e1 e2)
Hello!
Recently I noticed, that srfi-64 `assert-equal` macro do not use
`equal?` that was redefinded via `define-method` in scope of invocation
of `assert-equal`. It means, that
(define e1 (make #:x 2))
(define e2 (make #:x 2))
(equal? e1 e2) ;; Overloaded to return #t