Vocabulary
kernel

Inputs
obj1an object
obj2an object


Outputs
?a boolean


Word description
Tests if two objects are equal. If obj1 and obj2 point to the same object, outputs t. Otherwise, calls the equal? generic word.

Examples
USING: 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