Re: [racket-dev] saving .scrbl file OS X message box

2010-11-09 Thread Robby Findler
I don't understand how I can call get-file differently to improve what seems to be happening currently under mac os x. In particular, when I try to save a file x.scrbl it asks me if x.rkt is what I meant and the default choice is to keep the scrbl extension (this is under 10.6; maybe things are

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

2010-11-09 Thread Jay McCarthy
You cannot reverse a sequence. You meant (in-list (reverse ...)) Jay On Tue, Nov 9, 2010 at 1:49 PM, clkl...@racket-lang.org wrote: clklein has updated `master' from 02f301b3b7 to 0d1578cbb1.  http://git.racket-lang.org/plt/02f301b3b7..0d1578cbb1 =[ 1 Commits

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

2010-11-09 Thread Casey Klein
Oops! That'll teach me to try to fix code I don't know how to run. On Tue, Nov 9, 2010 at 2:54 PM, Jay McCarthy jay.mccar...@gmail.com wrote: You cannot reverse a sequence. You meant (in-list (reverse ...)) Jay On Tue, Nov 9, 2010 at 1:49 PM,  clkl...@racket-lang.org wrote: clklein has

Re: [racket-dev] try the GRacket2 branch

2010-11-09 Thread Matthew Flatt
I should have paid more attention to your observation that it might be related to sawfish. Eli ran into the same problem, and the latest development version now avoids annoying sawfish. Let me know if you still see problems. At Sat, 30 Oct 2010 20:31:43 +0200, Jose A. Ortega Ruiz wrote: On Sat,

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

2010-11-09 Thread Jon Rafkind
It occured to me while making this small patch that the name of the macro shown in the error message might not be the same as the one the user called. Namely, if the user renames or prefixes the macro when requiring it then they will get a mismatch. This seems to be consistent with how

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

2010-11-09 Thread Matthew Flatt
Supply #f as the first argument to `raise-syntax-error'. At Tue, 09 Nov 2010 17:31:51 -0700, Jon Rafkind wrote: It occured to me while making this small patch that the name of the macro shown in the error message might not be the same as the one the user called. Namely, if the user renames or

[racket-dev] Simple loop checking in beginner?

2010-11-09 Thread John Clements
Here's a simple macro that prevents same-argument recursive calls (including non-tail ones). It's illustrated by a student function that made a teeny mistake which would result in looping forever, but (using this macro) instead signals an error. To the best of my limited knowledge, beginner