lua-users home
lua-l archive

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

> 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...

-- Roberto