[racket-dev] literal strings and numbers are now interned

2011-11-22 Thread Matthew Flatt
As of v5.2.0.4, Racket's reader and `datum->syntax' interns literal strings, byte strings, regexps, characters, and numbers. (Also, `equal?' now works in the obvious way for regexps.) For example, `(eq? "hello" "hello")' will always return true, since the two literal "hello"s are interned to the s

Re: [racket-dev] literal strings and numbers are now interned

2011-11-22 Thread Matthew Flatt
At Tue, 22 Nov 2011 09:18:30 -0700, Matthew Flatt wrote: > Along the same lines, I think it's unlikely that good programs are > affected by the `read' interning change Some Scribble tests failed in DrDr, because the Scribble reader actually promises a distinct "\n" for literal newlines. There's no

Re: [racket-dev] literal strings and numbers are now interned

2011-11-22 Thread Robby Findler
Why did the reader make this promise? Robby On Tue, Nov 22, 2011 at 1:50 PM, Matthew Flatt wrote: > At Tue, 22 Nov 2011 09:18:30 -0700, Matthew Flatt wrote: >> Along the same lines, I think it's unlikely that good programs are >> affected by the `read' interning change > > Some Scribble tests fa

Re: [racket-dev] literal strings and numbers are now interned

2011-11-22 Thread Robby Findler
'case' seems a lot more useful now than it used to be. Robby On Tue, Nov 22, 2011 at 10:18 AM, Matthew Flatt wrote: > As of v5.2.0.4, Racket's reader and `datum->syntax' interns literal > strings, byte strings, regexps, characters, and numbers. (Also, > `equal?' now works in the obvious way for

[racket-dev] check-syntax (require plot) hangs drracket

2011-11-22 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In the latest git master, check-syntax button is freezing drracket for me on x86-64 GNU/Linux on the following code fragment: #lang racket (require plot) although it runs fine... Only way to proceed is to kill the program. I get no output on the con