Re: [racket-users] Sending post and get using DrRacket

2015-12-05 Thread Rickard Andersson
Hi, Hector. The following should be what you are looking for in terms of sending a POST request: http://pasterack.org/pastes/86127 You can find more information on `http-sendrecv` and its related functions here:

[racket-users] scrolling in DrRacket

2015-12-05 Thread Robby Findler
Thanks to improvements at a low-level that Matthew made, DrRacket's scrolling performance is much improved (specifically when responding to a scroll event, DrRacket now uses a blit copy to avoid a complex redraw for the portion of the screen that's still there after the scroll happens and does the

[racket-users] Sending post and get using DrRacket

2015-12-05 Thread Hector Fabio Jimenez Saldarriaga
Hi everybody, Recently I'm working in my first application using DrRacket, The application is specifically a simple and nice video game( it calls Space Invaders), I would like to add a simple function to send a post or maybe get request. When the user uses all his lifes it's going to be game

Re: [racket-users] Call methods inside a macro

2015-12-05 Thread Alex Knauth
>From your example I suspect that you want a macro that expands to a method >call: #lang racket (define foo-class% (class object% (super-new) (define/public (get-foo) "foo"))) (define-syntax (say-hello stx) (syntax-case stx () [(_ foo) #'(display (string-append "Hello " (send foo

Re: [racket-users] Syntax checker suggestion

2015-12-05 Thread brendan
On Saturday, December 5, 2015 at 12:36:50 PM UTC-5, Asumu Takikawa wrote: > On 2015-12-05 09:25:59 -0800, brendan wrote: > > Thanks Asumu. Yeah, I'm familiar with the binding concept. > > Ah, my apologies for overexplaining then. :) Not at all! When it comes to the syntax and evaluation models I

[racket-users] Call methods inside a macro

2015-12-05 Thread Guilherme Ferreira
Hello everyone, Consider this example: (define foo-class% (class object% (define/public (get-foo) "foo"))) (define-syntax (say-hello stx) (syntax-case stx () [(_ foo) (with-syntax ((foo-name (send #'foo get-foo))) #'(display (string-append "Hello " foo-name)))])) When

Re: [racket-users] Syntax checker suggestion

2015-12-05 Thread brendan
Thanks Asumu. Yeah, I'm familiar with the binding concept. I guess "free" means relative to some local expression context rather than in general, and that wasn't clear to me. But then a completely free identifier is an error, so maybe it should be clear. :) -- You received this message

Re: [racket-users] Syntax checker suggestion

2015-12-05 Thread Asumu Takikawa
On 2015-12-05 09:25:59 -0800, brendan wrote: > Thanks Asumu. Yeah, I'm familiar with the binding concept. Ah, my apologies for overexplaining then. :) > I guess "free" > means relative to some local expression context rather than in general, and > that wasn't clear to me. But then a completely

Re: [racket-users] Functional Geekery Episode 37 – Eric Smith

2015-12-05 Thread Matthias Felleisen
@ Anthony — thanks for sending the link @ Eric — you must be one of the most enlightened managers of programmers around, not to speak of how knowledgable you speak about the history of our concepts. Thanks for the insightful words on HtDP. The goal is really to present programming as the

Re: [racket-users] pasteboard% applications

2015-12-05 Thread Dmitry Pavlov
Does anyone have an application using pasteboard%? I want to try one, and I’d love to see an example. A (bit underdone) spreadsheed editor using pasteboard% : https://github.com/kugelblitz/spreadsheet-editor Available in Racket via raco pkg install spreadsheet-editor Regards, Dmitry

[racket-users] PSA: alexis/collection is dead, long live data/collection

2015-12-05 Thread Alexis King
Earlier this year, Jay suggested I move alexis/collection to data/collection and claim that namespace. In the past week, I’ve finally done so. Instead of using the alexis-collections package, just use the collections package. Otherwise, everything still works identically. The