abstract class $IS_EQ
****
Subtypes of this define "is_eq:BOOL". Typically used in typecases to use instead of "=". Examples: INT < $IS_EQ, STR < $IS_EQ. NOTE:
___This_equality_should_be_an_IMMUTABLE_equality_that_is_valid
___over_the_lifetime_of_the_whole_object._It_should_be_possible
___to_use_this_equality_(and_an_associated_hash_value)_to_
___place_an_object_in_a_hash_table_and_then_later_retrieve_it.


Descendants
BOOL $HASH FSTR FLTD
FLT SL2P FINITE_FIELD CHAR
STR INT TUP{_,_,_,_} PERM
$VBAG{_} $VSET{_} VSET{_} VBAG{_}
$VMULTIMAP{_,_} $VMAP{_,_} VMAP{_,_} VMULTIMAP{_,_}
TUP{_,_} INTI $NFE{_} $CPX_NUMBER{_,_}
CPX{_} CPXD CPX $NUMBER{_}
$REAL_NUMBER{_} $IS_LT{_} POLYS_RAT POLYS_FP
POLYM_INTI POLYM_RAT RAT PQMIN{_}
POLYS_INTI



Public


Features
is_eq(e:$OB):BOOL;
**** True if self is equal arg for this element type.

The Sather Home Page