[R6RS] eq?/eqv? on empty strings / bytevectors / vectors

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed Jun 20 05:38:12 EDT 2007

R5RS says

(let ((x '#()))
  (eq? x x)) => #t

This seems unwarranted by the wording which only applies to objects that
denote locations.  The explanation of the storage model, however, at
least strongly implies that vectors (analogously to strings) denote as
many locations as their are elements in the vector, i.e. none in the
above case. Hence, I'm changing this to "unspecified" for now.  Yell if
you object.

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

More information about the R6RS mailing list