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

Re: [Scheme-reports] R7RS-large comparators

On 07/16/2013 12:19 AM, Marijn wrote:

> If we could compare functions for equality, we could have the return
> values be the respective equivalents of <, > and =. Failing that maybe
> '<, '> and '= would be appropriate?

For what it's worth, this is THE most compelling reason to allow
equality-testing of functions IMO.  Having functions as return
values from ordering comparators would enable use of comparators
as comparison functions, allowing some succinct functional idioms.


Scheme-reports mailing list