This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for wiki EmptyStringsVectors version 1

author

cowan

comment


    

ipnr

98.14.173.81

name

EmptyStringsVectors

readonly

0

text

== Comparing empty stirngs and vectors with eq? ==

The vast majority of the Schemes in the test suite return `#f` to both `(eq? (vector) (vector))` and
`(eq? (string) (string))`.  I also tested bytevectors in those implementations that made it easy to do so.  Here are the cases that returned `#t`:

Chez returns `#t` for both strings and vectors.

Icarus (but not Vicare) and Chibi return `#t` for vectors only.

Ypsilon returns `#t` for all three cases.

NexJ returns `#t` for vectors but not strings.

time

2012-06-09 06:20:49

version

1