Re: [Scheme-reports] match.scm
Peter Kourzanov 15 Dec 2010 20:03 UTC
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?
Pjotr
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports