Hi,

Neil Jerram <[EMAIL PROTECTED]> writes:

> All looks fine to me, except one thing.  I don't think we gain anything by
> exporting the struct-equal?/scm_struct_equalp API, so I'd prefer to
> have this as an internal (scm_i_) function and not exported to
> Scheme.  (Cf. the fact that there isn't any list-equal? in Scheme.)

I'd rather think about it the other way round: there's no compelling
reason to hide it, and actually both R5RS and Guile already define a
number of type-specific equality predicates which allow users to
directly use them rather than `equal?' (with a potential performance
gain).

What was the reason to not have `list-equal?'?  Was it the fact that we
want it to be inlined within `equal?'?

Thanks,
Ludovic.


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to