[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] fresh empty strings

Andy Wingo scripsit:

>     Whenever this report speaks of storage being allocated for a
>     variable or object, what is meant is that an appropriate number of
>     locations are chosen from the set of locations that are not in use,
>     and the chosen locations are marked to indicate that they are now in
>     use before the variable or object is made to denote them.
> Seems to imply that (eq? (string) (string)) => #f.

However, an empty string doesn't actually have any locations, so the
above procedure is vacuous.  (Same for the other empties.)  This leaves
an implementation free to do whatever it likes.

In any case, we should probably say so.  Editorial ticket #336 filed.

What has four pairs of pants, lives             John Cowan
in Philadelphia, and it never rains             http://www.ccil.org/~cowan
but it pours?                                   cowan@x
        --Rufus T. Firefly

Scheme-reports mailing list