VocabularykernelInputsOutputsWord descriptionTests if two objects are equal. If
obj1 and
obj2 point to the same object, outputs
t. Otherwise, calls the
equal? generic word.
ExamplesUSING: kernel prettyprint ;
5 5 = .
t
USING: kernel prettyprint ;
5 005 = .
t
USING: kernel prettyprint ;
5 5.0 = .
f
USING: arrays kernel prettyprint ;
{ "a" "b" } "a" "b" 2array = .
t
USING: arrays kernel prettyprint ;
{ "a" "b" } [ "a" "b" ] = .
f
Definition