Re: [racket-dev] DrRacket's indentation of curly braces

2011-01-27 Thread Robby Findler
That's a change I made in the pre-release for scribble programs, yes. Perhaps I should disable it until I can set the tabber up so it only works in scribble programs. (If you want to commit something to disable it before I can get to it, pls. go ahead.) Robby On Thu, Jan 27, 2011 at 10:49 AM,

Re: [racket-dev] DrRacket's indentation of curly braces

2011-01-27 Thread John Clements
On Jan 27, 2011, at 8:49 AM, Casey Klein wrote: DrRacket indents this program (a ) differently than this program {a } Is this intentional? I can imagine the behavior being useful for Scribble, but it's annoying in a PLAI context where you're using curly braces for object

Re: [racket-dev] DrRacket's indentation of curly braces

2011-01-27 Thread Robby Findler
I've pushed a change that disables it. I'll try to get back to this properly for 5.2 or so. Robby On Thu, Jan 27, 2011 at 11:10 AM, John Clements cleme...@brinckerhoff.org wrote: On Jan 27, 2011, at 8:49 AM, Casey Klein wrote: DrRacket indents this program (a ) differently than this

[racket-dev] Please fix typo in sxml.plt package on PLaneT?

2011-01-27 Thread John Clements
In the current version of sxml.plt, the info.ss file has a typo. Rather than omitting tests.ss from compilation, it omits test.ss, which isn't a file in the package. This means that compiling it pulls in all of schemeunit 3, which takes *forever* to compile. This is a one-character fix, and

[racket-dev] secref problems

2011-01-27 Thread David Van Horn
Am I doing something wrong, or is this a bug? The references with numbers or hyphens don't resolve, while the others do. #lang scribble/manual @secref[#:doc '(lib teachpack/teachpack.scrbl) simulations] @secref[#:doc '(lib teachpack/teachpack.scrbl) interactive] @secref[#:doc '(lib

Re: [racket-dev] secref problems

2011-01-27 Thread Matthew Flatt
All of the 2htdp sections have a tag prefix of 2htdp. @secref[#:doc '(lib teachpack/teachpack.scrbl) #:tag-prefixes '(2htdp) world-example] At Thu, 27 Jan 2011 16:19:23 -0500, David Van Horn wrote: Am I doing something wrong, or is this a bug? The references with numbers

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

2011-01-27 Thread Stephen Chang
What should be the result of (take 0 nonlist) In the spirit of this bug report, I think it should be an error http://bugs.racket-lang.org/query/?cmd=viewpr=11458 But right now it evaluates to the empty list. On Wed, Jan 26, 2011 at 6:43 PM, Stephen Chang stch...@ccs.neu.edu wrote: Oh sorry,

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

2011-01-27 Thread Robby Findler
Do you mean (take nonlist 0)? That's '() in regular Racket, I think to accommodate improper lists. C:\Users\Administrator\git\exp\pltRacket.exe Welcome to Racket v5.0.99.7. (take nonlist 0) '() Robby On Thu, Jan 27, 2011 at 3:32 PM, Stephen Chang stch...@ccs.neu.edu wrote: What should be the

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

2011-01-27 Thread Stephen Chang
I meant in lazy-take, which is what was changed in this push (args are flipped). If it behaves that way in Racket, then I guess lazy should be consistent. On Thu, Jan 27, 2011 at 4:42 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Do you mean (take nonlist 0)? That's '() in regular

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

2011-01-27 Thread Robby Findler
Yes, that's what I was saying. :) On Thu, Jan 27, 2011 at 3:45 PM, Stephen Chang stch...@ccs.neu.edu wrote: I meant in lazy-take, which is what was changed in this push (args are flipped). If it behaves that way in Racket, then I guess lazy should be consistent. On Thu, Jan 27, 2011 at