Re: [racket-dev] Pre-Release Checklist for v5.2

2011-10-20 Thread Michael Sperber
Ryan Culpepper r...@cs.utah.edu writes: * Mike Sperber sper...@deinprogramm.de - DMdA Tests - Stepper Tests - Signature Tests Done. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla _ For list-related

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Eli Barzilay
7 hours ago, Robby Findler wrote: On Wed, Oct 19, 2011 at 6:56 PM, Eli Barzilay e...@barzilay.org wrote: But this is very different from what the online check syntax is doing, and the current problem of letting the output go to the console still needs to be solved.  (And IMO, it should be

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, On 10/18/11 17:10, Matthew Flatt wrote: At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: the attached program draws a grid in a canvas and paints a few of the cells so created. When resizing the window, the grid is also dynamically

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:16 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 20, 2011, at 8:21 AM, Robby Findler wrote: I also believe that we don't support these programs well as it is. I didn't program with closures until I experienced them in Scheme 84 in 1984. Perhaps people

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
I've certainly wanted this in the past. Ryan came up with some tricks that made it easier, but I think a separate REPL that basically ran (begin-for-syntax (print e)) would be a very nice addition. I'm also with Eli in thinking that this should be separate from online check syntax, unless we

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I've certainly wanted this in the past.  Ryan came up with some tricks that made it easier, but I think a separate REPL that basically ran (begin-for-syntax (print e)) would be a very nice addition. I'm also with

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
On Thu, Oct 20, 2011 at 9:29 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I've certainly wanted this in the past.  Ryan came up with some tricks that made it easier, but I think a separate REPL that

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 14:53, Matthew Flatt wrote: At Thu, 20 Oct 2011 11:16:59 +0200, Marijn wrote: Could you perhaps comment on the slowness of the cursor appearing in a clicked cell? It seems to have something to do with the timer frequency, because if I

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Matthew Flatt
At Thu, 20 Oct 2011 17:58:08 +0200, Marijn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 14:53, Matthew Flatt wrote: At Thu, 20 Oct 2011 11:16:59 +0200, Marijn wrote: Could you perhaps comment on the slowness of the cursor appearing in a clicked cell? It seems to have

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those menus come in via a frame. I'm not sure how you're using your library, but you might want to consider some of the mixins in the framework whose names start with frame:.

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 18:12, Matthew Flatt wrote: At Thu, 20 Oct 2011 17:58:08 +0200, Marijn wrote: Another thing. How do you enable simple select/copy/cut/paste behavior with standard key-bindings in an editor? Apply `(current-text-keymap-initializer)'

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those menus come in via a frame. I'm not sure how you're using your library,

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those

[racket-dev] Pre-Release Checklist for v5.2, Second Call

2011-10-20 Thread Ryan Culpepper
Checklist items for the v5.2 release (using the v5.1.900.1 release candidate build) Search for your name to find relevant items, reply when you finish an item (please indicate which item/s is/are done). Also, if you have any commits that should have been picked, make sure that the changes are

[racket-dev] Mac OS X default build: 64-bit for 10.6, 10.7

2011-10-20 Thread Matthew Flatt
I've changed `configure' so that 64-bit mode is no longer disabled by default for Mac OS X builds. The build now uses the default mode of the compiler, which is typically 64-bit mode for Mac OS X 10.6 and 10.7. To get a 32-bit mode build when your compiler's default is 64-bit mode, configure with

Re: [racket-dev] Pre-Release Checklist for v5.2, Second Call

2011-10-20 Thread Kathy Gray
On 20 Oct 2011, at 8:36:28, Ryan Culpepper wrote: * Kathy Gray kathryn.g...@cl.cam.ac.uk - Test Engine Tests Done -Kathy _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Shriram Krishnamurthi
According to my class notes from last year, the following examples worked just fine in ASL: (define web-colors (shared ([W (cons white G)] [G (cons grey W)]) W)) ; Will fail with error: ; (length web-colors) (check-expect (equal? web-colors (rest web-colors)) false)

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Ryan Culpepper
Looks like it works in 5.0.2 (November 2010) but fails in 5.1 (February 2011). The ultimate problem seems to be that deinprogramm/signature/signature-unit uses first from racket/list (checks list?, ie non-cyclic) rather than mzlib/list (only checks pair?). Ryan On 10/20/2011 08:38 PM,

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:11 PM, Ryan Culpepper r...@cs.utah.edu wrote: Looks like it works in 5.0.2 (November 2010) but fails in 5.1 (February 2011). You're talking about in the teaching languages, right? In #lang racket, I see the first-produces-error behavior back to 5.0: [robby@penghu]

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Ryan Culpepper
On 10/20/2011 09:14 PM, Shriram Krishnamurthi wrote: Ryan, I noticed this seems to be a problem in full Racket as well: try #lang racket (define web-colors (shared ([W (cons white G)] [G (cons grey W)]) W)) (rest web-colors) Robby privately wrote to say it should be regarded

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:27 PM, Ryan Culpepper r...@cs.utah.edu wrote: On 10/20/2011 09:14 PM, Shriram Krishnamurthi wrote: Ryan, I noticed this seems to be a problem in full Racket as well: try #lang racket (define web-colors  (shared ([W (cons white G)]           [G (cons grey W)])  

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Matthew Flatt
At Fri, 21 Oct 2011 05:14:28 +0200, Shriram Krishnamurthi wrote: Ryan, I noticed this seems to be a problem in full Racket as well: try #lang racket (define web-colors (shared ([W (cons white G)] [G (cons grey W)]) W)) (rest web-colors) Robby privately wrote to say it

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:29 PM, Matthew Flatt mfl...@cs.utah.edu wrote: Robby privately wrote to say it should be regarded as a bug. That is the correct behavior for `racket': [...] Just in case this was not clear from my other messages, I still consider this a bug (not in #lang racket).

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Shriram Krishnamurthi
Since I'm anyway providing my own custom language, can I provide car as first and cdr as rest? Can you think of any unexpected consequences offhand that would prevent that? (The only one I can think of so far is that second and friends don't work either, so I have to provide first, second, ...

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Ryan Culpepper
On 10/20/2011 09:24 PM, Robby Findler wrote: On Thu, Oct 20, 2011 at 10:11 PM, Ryan Culpepperr...@cs.utah.edu wrote: Looks like it works in 5.0.2 (November 2010) but fails in 5.1 (February 2011). You're talking about in the teaching languages, right? Right, I was talking about just the

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Shriram Krishnamurthi
Thanks for the help with the patch. But because I'm providing my own language, I think there's a cleaner solution. I anyway planned to release a new version of the course language in the morning that turned on shared printing, so this would mesh nicely. Shriram

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
FWIW, the reason for the change to the teaching languages was so that 'first' doesn't say car in its error message. Robby On Thu, Oct 20, 2011 at 10:46 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: Thanks for the help with the patch.  But because I'm providing my own language, I think

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Shriram Krishnamurthi
Yeah, I caught that in the patch, thanks. I think it's the lesser of two evils for me right now (to export car as first, etc), and the price here is indeed very low. But thanks for the reminder, so I'm alert to it. _ For list-related