Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Sam Tobin-Hochstadt
On Sat, Nov 3, 2012 at 2:57 PM, Robby Findler ro...@eecs.northwestern.edu wrote: There was a discussion a while back on revising the language dialog (I've lost track of the thread since I started hacking on the dialog; apologies). The thread starts here:

Re: [racket-dev] `stream-map', again (Add multiple streams and a contract to stream-map)

2012-11-05 Thread Diogo F. S. Ramos
Eli Barzilay e...@barzilay.org writes: Yesterday, Diogo F. S. Ramos wrote: Adding multiple streams feature to stream-map makes it more in line with its list counterpart. [...] The code in your patch had several problems, so I started re-hacking it, yet again. I obviously wrote a macro so

Re: [racket-dev] Odd bug with begin0 and call-with-values

2012-11-05 Thread Matthew Flatt
This looks like the sort of thing that I could have broken over the weekend. I'm not able to construct an example from just this information, so even a large amount of code may be useful. At Mon, 5 Nov 2012 16:46:29 -0500 (EST), J. Ian Johnson wrote: Code that used to work is now failing with a

Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Robby Findler
Thanks for taking a look. On Monday, November 5, 2012, Sam Tobin-Hochstadt wrote: - Allow the presence of a #lang line to override the language dialog, or at least give an error that's more helpful than currently. What did you have in mind here? The error you get in the teaching languages

Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Sam Tobin-Hochstadt
On Mon, Nov 5, 2012 at 6:11 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Thanks for taking a look. On Monday, November 5, 2012, Sam Tobin-Hochstadt wrote: - Allow the presence of a #lang line to override the language dialog, or at least give an error that's more helpful than

Re: [racket-dev] Odd bug with begin0 and call-with-values

2012-11-05 Thread Matthew Flatt
Thanks for the example. Here's a small variant: #lang racket/base (call-with-values (lambda () (begin0 (values 1 2 3) (+ 1 (random 1 list) The bug wasn't new. It was an old, amazing-that-we-never-hit-it-before bug. Fix pushed. At Mon, 5 Nov 2012

Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Robby Findler
I think it makes sense to put that error message directly into the teaching languages. Robby On Mon, Nov 5, 2012 at 5:16 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Mon, Nov 5, 2012 at 6:11 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Thanks for taking a look. On Monday,

Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Matthias Felleisen
I second Sam's suggestions. -- I would use The Racket Language for the first line of the first item then I would have in blue Use #lang to Specify the Desired Dialect then I would list some candidates, possible as radio buttons * racket/base (for scripting) *

Re: [racket-dev] Revision to the Language Dialog

2012-11-05 Thread Robby Findler
The DrRacket-based languages have access to the port. So they can get the actual characters from it. Not The Racket (meta-)Language ;) I think I'll not color things blue, as that would look strange in this context; indentation seems to serve the same role and I think I can do something like what