On 22 Nov 2014, at 18:00, guile-user-requ...@gnu.org wrote:

> Why it happens, is clear. Since scheme macros are hygienic, equal? in
> expansion of `assert-equal` is sealed to refer to (@@ (srfi srfi-64)
> equal?). I belive, in presence of goops, it would be nice add
> 
>       (define-syntax equal?
>            (identifier-syntax (module-ref (current-module) 'equal?))
> 
> I do not see, what would it break, but maybe I am missing something?

SRFI-64 has all these specific binary predicates: test-eqv, test-equal, 
test-eq, test-approximate, but no way to pass your own predicate, which is 
annoying. Please correct me if I'm wrong.

An extension to be able to pass your own predicate may be more generally useful.




Reply via email to