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 ImmediateStringsCoalesced version 3

author

cowan

comment


    

ipnr

127.11.51.1

name

ImmediateStringsCoalesced

readonly

0

text

== Are immediate strings coalesced? ==

Asked to evaluate `(let ((a "hello") (b "hello")) (eq? a b))`, Racket, Gauche, MIT, Gambit, Chicken, Bigloo, SISC, Chibi, Chez, SCM, !Ikarus/Vicare, Mosh, KSi, !SigScheme, !TinyScheme, Scheme 9, Dream, S7, BDC, XLisp, Rep, Schemik, Elk, UMB, Oaklisp, and Owl Lisp all return `#f`.

Scheme48/scsh, Guile, Kawa, Larceny, Ypsilon, !IronScheme, NexJ, STklos, Shoe, RScheme, JScheme, VX, Sagittarius return `#t`.

There may be some false negatives here, because an implementation might coalesce literals in the compiler but not at the REPL.

time

2014-12-28 09:58:22

version

3