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
$HASH FLTD FSTR INTI
CHAR FLT TUP{_,_,_,_} STR
PERM INT TUP{_,_} $VBAG{_}
VBAG{_} $VMULTIMAP{_,_} VMULTIMAP{_,_} $VMAP{_,_}
VMAP{_,_} $VSET{_} VSET{_} BOOL
$NFE{_} $NUMBER{_} $REAL_NUMBER{_} $CPX_NUMBER{_,_}
CPXD CPX{_} CPX $IS_LT{_}
POLYS_INTI POLYM_INTI PQMIN{_} POLYM_RAT
RAT



Public


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

The Sather Home Page