[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Translating from a VERY "loose" language
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 11 Jun 2007 18:50:06 -0300
> IEEE-745 contemplates a rather large collection of
> ordering operations; few languages actually implement
> them, though. As another datapoint, it is not uncommon
> for languages to implement two or more "equality"
> operators -- and the difference between these operators
> often figures prominently in FAQ lists :)
Scheme, on top of all its simplicity, offers three different
equalities (eqv?, eq?, and equal?), plus some extra equalities
for particular types (=, string=?, char=?, etc.). At least it does
not "waste" syntax with them...