Eq?

(eq? argument1 argument2) -> boolean

eq? is the strictest of the equal?, eqv? and eq? triad.

When given any of the following as arguments, eq? works as eqv?

However, eq? must be considered disjoint with the R5RS standard for Scheme. See eqv? for a further explanation.

In the R5RS specification, the following examples were given as "unspecified." These examples are reproduced here, with the MOSVM behavior noted.

Also, eq? given two empty (zero-length) vectors will return false.

See Also: eqv?, equal?