[Scheme-reports] Fwd: fresh empty strings Vincent Manis (21 Jan 2012 17:54 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings Ray Dillinger (21 Jan 2012 18:13 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings John Cowan (22 Jan 2012 06:11 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings Alex Shinn (22 Jan 2012 06:16 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings John Cowan (22 Jan 2012 06:29 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings Alex Shinn (22 Jan 2012 06:33 UTC)
Re: [Scheme-reports] Fwd: fresh empty strings Per Bothner (21 Jan 2012 19:28 UTC)

Re: [Scheme-reports] Fwd: fresh empty strings John Cowan 22 Jan 2012 06:09 UTC

Ray Dillinger scripsit:

> I feel that having them eq? would be "the right thing" but that
> right thing-ness in this case isn't a sufficient reason by itself
> to change the standard.  Now, if right thing-nness is accompanied
> by established practice in more than, say, 80% of implementations,
> or widespread support for the proposition among implementors, then
> I'd be for changing the standard to require it.

Okay, I'm back home and ran tests.  The vast majority of my
implementations 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 returned #t for both strings and vectors.

Icarus (but not Vicare) returned #t for vectors but not strings or
bytevectors.

Ypsilon returned #t for all three cases.

NexJ returned #t for vectors but not strings.

--
They tried to pierce your heart                 John Cowan
with a Morgul-knife that remains in the         http://www.ccil.org/~cowan
wound.  If they had succeeded, you would
become a wraith under the domination of the Dark Lord.         --Gandalf

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports