Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Eli Barzilay
40 minutes ago, Matthew Flatt wrote: > I agree about changing `when', `unless', and `cond'. > > I can't see changing `begin', especially now that > internal-definition contexts allow a mixture of definitions and > expressions. Unlike changing `when' and `unless', changing `begin' > could change so

Re: [racket-dev] #true and #false

2010-10-11 Thread Matthew Flatt
At Sun, 10 Oct 2010 11:27:36 -0400, Neil Van Dyke wrote: > If "#true" and "#false" were just alternative read syntax for "#t" and > "#f", and they always printed as "#t" and "#f" (except perhaps in > teaching languages), that would make me happiest. That's what we have now in v5.0.1.8. From the

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Matthew Flatt
I agree about changing `when', `unless', and `cond'. I can't see changing `begin', especially now that internal-definition contexts allow a mixture of definitions and expressions. Unlike changing `when' and `unless', changing `begin' could change some existing programs, such as (let () (begin

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Eli Barzilay
6 hours ago, Neil Toronto wrote: > Also, I could do > > (if > (begin (define ...) ...) > ...) > > instead of the current (and very ugly) > > (if > (let () >(define ...) ...) > ...) > > which I've been doing a lot more now that I can mi

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Eli Barzilay
Yesterday, Robby Findler wrote: > > Maybe you're saying that people would be confused by that error? > Woudln't that already happen with > > (define (foo x) (define x (add1 x)) x) > > ? Yes, they would. I just think that overall more newbies fall for the trap of trying a conditional definition

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Carl Eastlund
On Mon, Oct 11, 2010 at 2:10 PM, Joe Marshall wrote: > On Mon, Oct 11, 2010 at 9:59 AM, Neil Toronto wrote: >> If I get a vote, +1/2 from me. >> >> My vote isn't +1 because I'd rather see a syntactic restriction removed: >> make the inside of a `begin' an internal definition context. Then the cha

Re: [racket-dev] another status report on the new `racket/gui'

2010-10-11 Thread Matthew Flatt
At Mon, 11 Oct 2010 13:28:38 -0600, Neil Toronto wrote: > I also sent bug reports. Thanks! > The one that's killing me is the Delete key > not working. Is there something I can do now to make it work? That one is now fixed in the git repo. > I don't > want to have to wait until after you're d

Re: [racket-dev] another status report on the new `racket/gui'

2010-10-11 Thread Neil Toronto
Matthew Flatt wrote: The new implementation of `racket/gui' is about as usable as my last report a month ago, at least for Gtk and Cocoa. Bug reports are still welcome. Editor performance has improved (thanks to Robby and Sam for testing and feedback), but not much else changed for Gtk and Cocoa,

Re: [racket-dev] repeated segfault when running gracket

2010-10-11 Thread Sam Tobin-Hochstadt
On Mon, Oct 11, 2010 at 12:05 PM, Sam Tobin-Hochstadt wrote: > Today, I started having repeated segfaults while running gracket. This went away after a cleaner clean rebuild. -- sam th sa...@ccs.neu.edu _ For list-related administrative tasks:

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Joe Marshall
On Mon, Oct 11, 2010 at 9:59 AM, Neil Toronto wrote: > If I get a vote, +1/2 from me. > > My vote isn't +1 because I'd rather see a syntactic restriction removed: > make the inside of a `begin' an internal definition context. Then the change > would happen in every similar macro at once. > > Woul

[racket-dev] another status report on the new `racket/gui'

2010-10-11 Thread Matthew Flatt
The new implementation of `racket/gui' is about as usable as my last report a month ago, at least for Gtk and Cocoa. Bug reports are still welcome. Editor performance has improved (thanks to Robby and Sam for testing and feedback), but not much else changed for Gtk and Cocoa, because I shifted my a

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-11 Thread Neil Toronto
If I get a vote, +1/2 from me. My vote isn't +1 because I'd rather see a syntactic restriction removed: make the inside of a `begin' an internal definition context. Then the change would happen in every similar macro at once. Also, I could do (if (begin (define ...) ...)

[racket-dev] repeated segfault when running gracket

2010-10-11 Thread Sam Tobin-Hochstadt
Today, I started having repeated segfaults while running gracket. I tried a clean rebuild, to no avail. Here's the backtrace, obtained by 1. Starting gracket under GDB. 2. Clicking the window close button. I'm happy to try to bisect this if it would help. This is on Ubuntu 10.04. [Thread debu