[racket] 2 minor suggestion to the Tutorial "Continue: Web Applications in Racket"

2012-04-14 Thread J G Cho
1. Currently the following Formlet is used: (define new-post-formlet (formlet (#%# ,{input-string . => . title} ,{input-string . => . body}) (values title body))) Although it is pretty and elegant, some people might benefit seeing the more verbose version: (define new-post-formle

Re: [racket] Indenting with class

2012-04-14 Thread Robby Findler
Oh-- I realized what I was doing wrong. I've pushed a change to fix 'new'. 'send' is still eluding me, tho. Maybe I'll see what's wrong another time. Thanks for pointing this out. Robby On Sat, Apr 14, 2012 at 11:27 AM, Robby Findler wrote: > I'm doing the opposite. I agree that the docs should

[racket] extra exercises

2012-04-14 Thread Roelof Wobben
Hello, Im following the book Desiging programms second edition. I'm now at the end of chapter 2 and I get the idea I need some extra exercises so I can practice more to follow the desin recipe, difference between a global variable and a function parameter. Are there somewhere some extra exerci

Re: [racket] Indenting with class

2012-04-14 Thread Robby Findler
I'm doing the opposite. I agree that the docs should match the right style, but DrRacket is generally what we consider to the be the right style. Robby On Sat, Apr 14, 2012 at 11:01 AM, Nick Shelley wrote: > I'm not sure I understand. Are you trying to change scribble to look more > like DrRacke

Re: [racket] Indenting with class

2012-04-14 Thread Nick Shelley
I'm not sure I understand. Are you trying to change scribble to look more like DrRacket's indenting? The background to my original question was that I started going through the GUI docs at http://docs.racket-lang.org/gui/windowing-overview.html and noticed when I typed it into DrRacket it wouldn't

Re: [racket] Indenting with class

2012-04-14 Thread Robby Findler
I looked into this a little bit and with the diff below, it starts to get close to make the docs indent the way DrRacket does, but it looks like getting closer is going to be complicated because of the way the layout is set up and, I guess, that the layout is set up that way because that's the best

[racket] Any one familiar with Racket + Apache setup?

2012-04-14 Thread J G Cho
Q1. Doc suggests using rewrite rule with Apache: RewriteEngine on RewriteRule ^(.*)$ http://localhost:8080/$1 [P,NE] What would that mean for URLs currently handled by Apache such as index.html /lib/foo.js /css/milli-helen.css /bar/xyz.php ,etc? The above seems like Apache acts as a go-between a

[racket] Racket with Apache

2012-04-14 Thread J G Cho
Doc suggests: RewriteEngine on RewriteRule ^(.*)$ http://localhost:8080/$1 [P,NE] What happens to URLs currently handled by Apache such as /index.html /foo/bar.php /css/milihelen.css ...? Has anybody tried Reverse Proxy? ProxyRequests Off Racket Users list: http://list

Re: [racket] struct change question.

2012-04-14 Thread Stephen Bloch
On Apr 14, 2012, at 5:16 AM, Roelof Wobben wrote: > So I thought I could use something like this : > > ; Editor(e) Keyevent (k) -> Editor > ; Change the Editor according to the keyevent > (define (edit e k) > (cond > [ (key=? k "left") (string-append (editor-pre e) (substring (editor-post e)

Re: [racket] slideshow, footer

2012-04-14 Thread Geoffrey S. Knauth
Perfect, thanks Stephen and Asumu! My search & rescue pilots and ground teams thank you too! --Geoff On Apr 13, 2012, at 16:19 , Stephen Chang wrote: > current-slide-assembler can also do what you want: > http://docs.racket-lang.org/slideshow/Configuration.html?q=assembler#(def._((lib._slidesh

Re: [racket] stop receiving racket emails

2012-04-14 Thread Neil Van Dyke
Go to "http://lists.racket-lang.org/users/";, and see the section labeled "users subscribers". You can temporarily suspend delivery without unsubscribing. Joshua Maloof wrote at 04/14/2012 03:32 AM: Hi Im expecting an important email at the moment but I need to disconnect from the racket-mail

[racket] struct change question.

2012-04-14 Thread Roelof Wobben
Hello, I have this struct : (define-struct editor (pre post)) ; Editor = (make-editor String String) ; interp. (make-editor s t) means the text in the editor is ; (string-append s t) with the cursor displayed between s and t ; make-editor String String -> Editor ; editor-pre Editor -> String ; e

[racket] stop receiving racket emails

2012-04-14 Thread Joshua Maloof
Hi Im expecting an important email at the moment but I need to disconnect from the racket-mailing list so the message does not get lot in spam. How can I do this? Racket Users list: http://lists.racket-lang.org/users