Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread Danny Yoo
>> This is a variation of one of the cases described in Guillaume's paper >> on error messages.  Figure 4 of >> http://gmarceau.qc.ca/papers/Marceau-2010-Measuring-Effectiveness.pdf > > Yes, I agree. Are you suggesting that there's low-hanging fruit in the form > of a more general solution? I'm

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread John Clements
On Feb 10, 2012, at 2:43 PM, Danny Yoo wrote: >> >> "Ho Ho!" thought I. "Beginner Student Racket will give a much better error >> message." Actually, though, the error message was much worse: it highlighted >> the id "list-sum-odd" in what should have been the 'else' case, and wrote: >> >> "l

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread Matthias Felleisen
Yes, and it was submitted in some form as a bug before. Why don't you modify teach.rkt and see whether you like the result better. Then submit. On Feb 10, 2012, at 5:43 PM, Danny Yoo wrote: >> >> "Ho Ho!" thought I. "Beginner Student Racket will give a much better error >> message." Actu

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread Danny Yoo
> > "Ho Ho!" thought I. "Beginner Student Racket will give a much better error > message." Actually, though, the error message was much worse: it highlighted > the id "list-sum-odd" in what should have been the 'else' case, and wrote: > > "list-sum-odd: expected a function call, but there is no o

[racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread John Clements
A user on stackoverflow had a question about this code: (define list-sum-odd (lambda (list) (cond ((null? list) 0) ((odd? (car list)) (+ (car list) (list-sum-odd (cdr list (list-sum-odd (cdr list) (list-sum-odd '(3 4 5)) ... which signalled an error. In #lang rac

Re: [racket-dev] Racket logo

2012-02-10 Thread Neil Van Dyke
Eli Barzilay wrote at 02/09/2012 09:27 PM: ([2] What Neil VD said.) It's just "Neil V." -- no social diseases. -- http://www.neilvandyke.org/ _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Racket logo

2012-02-10 Thread Eli Barzilay
An hour and a half ago, Robby Findler wrote: > On Thu, Feb 9, 2012 at 10:04 PM, Eli Barzilay wrote: > > Apparently I was confused, and didn't realize that this wasn't a > > discussion but a change that is already the default. > > I put it there to make easy for people to see it in one of the more

Re: [racket-dev] Racket logo

2012-02-10 Thread Robby Findler
On Thu, Feb 9, 2012 at 10:04 PM, Eli Barzilay wrote: > Apparently I was confused, and didn't realize that this wasn't a > discussion but a change that is already the default. I put it there to make easy for people to see it in one of the more prominent places where it will appear, not because "th

Re: [racket-dev] Racket logo

2012-02-10 Thread Matthew Flatt
+1 At Thu, 9 Feb 2012 22:34:31 +, Stephen De Gabrielle wrote: > +1 > > On Thu, Feb 9, 2012 at 8:07 PM, Jay McCarthy wrote: > > > +1 > > > > On Wed, Feb 8, 2012 at 6:18 PM, Robby Findler > > wrote: > > > John Clements and Neil Toronto have put together a new Racket logo > > > that I've just

Re: [racket-dev] Racket logo

2012-02-10 Thread Stefan Schmiedl
On Fri, 10 Feb 2012 04:00:37 -0700 Jordan Schatz wrote: > On Thu, Feb 09, 2012 at 11:04:41PM -0500, Eli Barzilay wrote: > > > I prefer keeping the lambda in it.[1] Also "r" is much less > > > unique.[2] > > 1+ (or 1!) +wau -> http://www.youtube.com/watch?v=GFLkou8NvJo s. -- "This is why Sci

Re: [racket-dev] Racket logo

2012-02-10 Thread Jordan Schatz
On Thu, Feb 09, 2012 at 11:04:41PM -0500, Eli Barzilay wrote: > > I prefer keeping the lambda in it.[1] Also "r" is much less > > unique.[2] 1+ (or 1!) _ Racket Developers list: http://lists.racket-lang.org/dev