[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [r6rs-discuss] [Scheme-reports] match.scm

On Wed, 2010-12-15 at 14:50 -0500, Jim Wise wrote:
> What is the use case for special-casing numbers?

Abbreviate (or 42 42.0) by (= 42)? There is a special
equality for numbers, so any complete pattern matcher
should be able to make use of it (if we aim for 
completeness, that is).

I.d. for other numeric operators...

Are there any Scheme's for which (= 42.0 42) equals #f?


r6rs-discuss mailing list