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



Public


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

The Sather Home Page