Re: [racket] Racket v5.3.5

2013-06-25 Thread Robby Findler
Do you have the ability to run DrRacket from the command line? If so, it may be a useful clue if you were to type control-c at the prompt after it gets good and hung. There is some chance that that will print out some context information about an infinite loop that DrRacket has fallen into and that

Re: [racket] Issue with "raco pkg install -u"

2013-06-25 Thread Juan Francisco Cantero Hurtado
On 06/25/13 21:14, Matthew Flatt wrote: So "search-context.html" has a newer timestamp than "make-search.rkt"? Yes. That would explain the problem, leaving the question of how the timestamp on "search-context.html" changed. I don't know if this is related to the bug: raco setup: rendering:

Re: [racket] Typed Racket: Command-line parsing problems

2013-06-25 Thread Robby Findler
Or maybe the expansion could be tweaked? (and a test case added?) Robby On Tue, Jun 25, 2013 at 10:50 AM, Sam Tobin-Hochstadt wrote: > On Mon, Jun 24, 2013 at 8:21 AM, Matthias Felleisen > wrote: > > > > On Jun 23, 2013, at 8:34 PM, Sam Tobin-Hochstadt wrote: > > > >>> > >>> After porting near

Re: [racket] Issue with "raco pkg install -u"

2013-06-25 Thread Matthew Flatt
So "search-context.html" has a newer timestamp than "make-search.rkt"? That would explain the problem, leaving the question of how the timestamp on "search-context.html" changed. Meanwhile, I believe the deeper problem here --- that `rack pkg install -u' should never try to rebuild installation f

Re: [racket] Issue with "raco pkg install -u"

2013-06-25 Thread Juan Francisco Cantero Hurtado
raco setup: version: 5.3.5 [3m] raco setup: variants: 3m raco setup: main collects: /usr/local/lib/racket/collects raco setup: collects paths: raco setup: /home/juanfra/.racket/5.3.5/collects raco setup: /usr/local/lib/racket/collects raco setup: --- pre-installing collections --- raco setup:

Re: [racket] Racket v5.3.5

2013-06-25 Thread Joe Gilray
No, never seems to come back, but I will wait longer next time. No, no typing and the file works as it is about 75% of the time. BTW, this happened on 5.3.4 and 5.3.3, but less often -joe On Mon, Jun 24, 2013 at 5:32 PM, Robby Findler wrote: > Does it eventually come back? > > You don't, by a

Re: [racket] Realm of Racket as Starting Book?

2013-06-25 Thread Matthias Felleisen
If the purpose is to work thru a 'regular starter book', Realm of Racket may work better than 2e at the moment if someone can help. ROAR basically assumes someone has programmed a little bit in something, anything. If the purpose is to launch the person on a career in programming, start with

[racket] Realm of Racket as Starting Book?

2013-06-25 Thread Sean Kanaley
To the authors: I have recommended Realm of Racket to a friend who expressed an interest in programming in conjunction with HtDP. Now, I'm sure the creators would "strongly encourage" future software engineers to be comfortable with the material in HtDP, but exactly how difficult is the "inte

Re: [racket] examples of parsing XML with match?

2013-06-25 Thread Matthew Butterick
Thank you. Reading the match docs, I didn't infer the significance of quasipatterns for XML parsing. On Tue, Jun 25, 2013 at 6:14 AM, Matthias Felleisen wrote: > > On Jun 24, 2013, at 9:52 PM, Matthew Butterick wrote: > > > I've seen this technique recommended numerous times. Would anyone have a

Re: [racket] Typed Racket: Command-line parsing problems

2013-06-25 Thread Sam Tobin-Hochstadt
On Mon, Jun 24, 2013 at 8:21 AM, Matthias Felleisen wrote: > > On Jun 23, 2013, at 8:34 PM, Sam Tobin-Hochstadt wrote: > >>> >>> After porting nearly everything I was left with typing up the command-line >>> parser. However, I am getting a type error at the following simplified part: >> >> Here's

Re: [racket] Typed Racket: Command-line parsing problems

2013-06-25 Thread Tim K.
Thank you both Matthias and Roman for explaining those things so thoroughly :) Matthias Felleisen writes: > Second, here is why your code is potentially buggy. Suppose you used the type of your mystringlistlist as an > argument type to f. You could then apply f to '( () ), which is a list of li

Re: [racket] Submodule reloaded when entering file module

2013-06-25 Thread Diogo F. S. Ramos
Philipp Dikmann writes: > Re-loading a changed file is intended behavior for the enter! command: > http://docs.racket-lang.org/reference/enter.html That's desirable and appreciated. What I'm seeing is that the submodule is being evaluated, which does not occur when one first enter the file or r

Re: [racket] Submodule reloaded when entering file module

2013-06-25 Thread Philipp Dikmann
... yet I failed to notice the subtleties of your original question (why it enters the submodule twice). No idea about that - sorry for being over-ambitious! On 25.06.13 15:19, Philipp Dikmann wrote: Re-loading a changed file is intended behavior for the enter! command: http://docs.racket-lang.

Re: [racket] Submodule reloaded when entering file module

2013-06-25 Thread Philipp Dikmann
Re-loading a changed file is intended behavior for the enter! command: http://docs.racket-lang.org/reference/enter.html On 25.06.13 11:48, Diogo F. S. Ramos wrote: When entering a file from a submodule inside this file, the submodule seems to be evaluated again. Is this the intended behavior?

Re: [racket] examples of parsing XML with match?

2013-06-25 Thread Matthias Felleisen
On Jun 24, 2013, at 9:52 PM, Matthew Butterick wrote: > I've seen this technique recommended numerous times. Would anyone have a link > to an idiomatic example of the technique in use? Thank you. > > Racket Users list: > http://lists.racket-lang.org/users Your question i

[racket] Submodule reloaded when entering file module

2013-06-25 Thread Diogo F. S. Ramos
When entering a file from a submodule inside this file, the submodule seems to be evaluated again. Is this the intended behavior? Here are the steps to reproduce it: 1. Create a file with a submodule inside it 2. Enter file 3. Enter submodule 4. Change the file and save it 5. Enter the file Here

Re: [racket] Issue with "raco pkg install -u"

2013-06-25 Thread Matthew Flatt
I guess it's more than an immediate timestamp on that file, then. Can you try raco setup -j 1 -v -m -D scribblings/main ? It should produce a lot of output, including the reason that "make-search.rkt" is being recompiled. Thanks! At Mon, 24 Jun 2013 21:10:03 +0200, Juan Francisco Cantero Hur