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

2011-01-27 Thread Casey Klein
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 language programs. _

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, Cas

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 ob

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 wrote: > > On Jan 27, 2011, at 8:49 AM, Casey Klein wrote: > >> DrRacket indents this program >> >> (a >> ) >> >> differently than this program >> >>

[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,

[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 "tea

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

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=view&pr=11458 But right now it evaluates to the empty list. On Wed, Jan 26, 2011 at 6:43 PM, Stephen Chang wrote: > Oh sorry, didnt read care

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\plt>Racket.exe Welcome to Racket v5.0.99.7. > (take "nonlist" 0) '() Robby On Thu, Jan 27, 2011 at 3:32 PM, Stephen Chang wrote: > What should be the result of (ta

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 wrote: > Do you mean (take "nonlist" 0)? That's '() in regular Racket, I think > to accommoda

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 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 4:42 PM, Robby F