Re: [racket-dev] syntax-case and stack trace

2011-07-15 Thread Casey Klein
Thanks! FWIW, the big taints commit also changed the value of this expression: (let ([s #'x]) (equal? s (with-handlers ([exn:fail:syntax? (compose first exn:fail:syntax-exprs)]) (raise-syntax-error #f "message" s On Fri, Jul 15, 2011 at 5:40 PM, Matthew Flatt wrote:

Re: [racket-dev] syntax-case and stack trace

2011-07-15 Thread Matthew Flatt
This is a bug in errortrace that was introduced with the switch to taints. I'm fixing it. At Fri, 15 Jul 2011 16:27:57 -0500, Casey Klein wrote: > Running the following program in DrRacket 5.1.1 highlights the `error' > expression if debugging is enabled: > > #lang racket > > (syntax-case 'a ()

Re: [racket-dev] syntax-case and stack trace

2011-07-15 Thread Casey Klein
On Fri, Jul 15, 2011 at 4:27 PM, Casey Klein wrote: > Running the following program in DrRacket 5.1.1 highlights the `error' > expression if debugging is enabled: > > #lang racket > > (syntax-case 'a () >  (_ (error 'boom))) > > Running the same program in 4d7584d/g doesn't highlight anything. > >

[racket-dev] syntax-case and stack trace

2011-07-15 Thread Casey Klein
Running the following program in DrRacket 5.1.1 highlights the `error' expression if debugging is enabled: #lang racket (syntax-case 'a () (_ (error 'boom))) Running the same program in 4d7584d/g doesn't highlight anything. Without the `syntax-case' around it, both versions highlight the `err

Re: [racket-dev] [plt] Push #23038: master branch updated

2011-07-15 Thread Matthias Felleisen
On Jul 15, 2011, at 2:38 PM, Guillaume Marceau wrote: > Shriram, Kathi, Emmanuel, Stephen and I have been debating which word > should be the standard. We also contacted Jon Star for his insight on > how to help bridge with algebra. I would have been happy to provide some input too. 2HtDP NEVE

Re: [racket-dev] [plt] Push #23038: master branch updated

2011-07-15 Thread Guillaume Marceau
> Guillaume, I finally realize that you replace 'produce' with 'return'. WHY? > The use of 'produce' for functions in HtDP is pervasive. Do you really want > to use distinct vocabularies in teachpacks+langs and the book? I am not concerned with keeping consistency we HtDP v1. When I updated DrRa

Re: [racket-dev] [plt] Push #23038: master branch updated

2011-07-15 Thread Matthias Felleisen
Guillaume, I finally realize that you replace 'produce' with 'return'. WHY? The use of 'produce' for functions in HtDP is pervasive. Do you really want to use distinct vocabularies in teachpacks+langs and the book? On Jul 15, 2011, at 3:29 AM, gmarc...@racket-lang.org wrote: > gmarceau h

Re: [racket-dev] intro videos

2011-07-15 Thread John Clements
On Jul 14, 2011, at 10:38 AM, Eli Barzilay wrote: > 9 hours ago, John Clements wrote: >> >> No, that's an entirely reasonable question, with an answer that's in >> the process of changing. >> >> First thing: you can use ESC-(. That is: press and release ESC, type >> (. That works, but it's a bi

Re: [racket-dev] New error messages for *SL

2011-07-15 Thread Guillaume Marceau
On Sat, Jul 9, 2011 at 10:17 AM, Matthew Flatt wrote: > I see that `case' is the only one in a blue box that doesn't fit, but I > meant the grammar at the start of each language section. It doesn't fit > for any of the languages on my machines (i.e., some line extends > further than the beige bar