Re: [racket] net/http-client

2013-09-23 Thread Evan Donahue
As long as people are discussing http client libraries, I've been wondering what the status of net/cookie is. It seems that it's geared towards server-side cookie management (and I don't see an obvious way to generate Cookie: headers from net/cookie structs since none of the accessors are exported)

[racket] Other languages in scribble/lp

2013-09-23 Thread Asumu Takikawa
Hi all, I saw a post on SO asking how to use Typed Racket in #lang scribble/lp. Is there a way to make this work? http://stackoverflow.com/questions/18877881/how-to-use-typed-racket-in-scribble-lp I tried a few things and I couldn't get it to work. (requiring TR doesn't work). Cheers, Asumu

Re: [racket] RacketCon / hackathon question

2013-09-23 Thread Matthias Felleisen
What if we suggest some games to implement? He'd be alone but surrounded by Racketeers who know. On Sep 23, 2013, at 8:15 PM, Geoffrey S. Knauth wrote: > I'm bringing my 16 year-old son to RacketCon on Sunday, since he loves > Racket. It's also the weekend of my college 30th reunion. On th

Re: [racket] RacketCon / hackathon question

2013-09-23 Thread Carl Eastlund
The hackathon is open for anyone to work on anything. We have suggestions, which may or may not be at your son's speed, but we'll be there to help him find something that's good for him, and the choice will ultimately be up to him. So absolutely, send him along if he'd like to join us! --Carl O

[racket] RacketCon / hackathon question

2013-09-23 Thread Geoffrey S. Knauth
I'm bringing my 16 year-old son to RacketCon on Sunday, since he loves Racket. It's also the weekend of my college 30th reunion. On the Saturday, he could go to the Racket hackathon, or he could go to my daytime reunion activities. I was looking at the list of things going on at the hackathon

Re: [racket] Null value in macros

2013-09-23 Thread Matthias Felleisen
I wanted to show how to define auxiliary functions for syntax processing, something you do wish to know when you come from Emacs/CL On Sep 23, 2013, at 12:31 PM, Sam Tobin-Hochstadt wrote: > On Mon, Sep 23, 2013 at 11:59 AM, Matthias Felleisen > wrote: >> >> (define field-name (append-i

Re: [racket] Null value in macros

2013-09-23 Thread Sam Tobin-Hochstadt
On Mon, Sep 23, 2013 at 11:59 AM, Matthias Felleisen wrote: > > (define field-name (append-id stx "-" #'f)) > (define set-name (append-id stx #'f "-set!")) It gets even shorter when you write this as: (define field-name (format-id stx "-~a" #'f)) (define set-name (format-id stx "~a-s

Re: [racket] Null value in macros

2013-09-23 Thread Matthias Felleisen
Is the following code really that much more complicated that define-macro? -- Matthias #lang racket (require (for-syntax syntax/parse)) (define-syntax (new-field stx) (syntax-parse stx [(_ f:id) #'(new-field f null)] [(_ f:id default-value) (define field-name (append-id stx "

Re: [racket] [ANN] RacketCon 2013: 29 September

2013-09-23 Thread Greg Hendershott
The latest weather forecast is basically sunny, high 70F, low 44F, today through Sunday. No guarantees. Boston is often one of those, "if you don't like the weather, wait 15 minutes" places. This time of year the weather _can_ actually be stable for a week. If so, should be great for walking and

[racket] Null value in macros

2013-09-23 Thread Diego Sevilla Ruiz
Dear all: I've been developing a library that needs some macro coding. As I come from Common-Lisp and Elisp, I find more pleasing the old-style define-macro. The following function is used as a part of the result building of another define-macro: (define (new-field-mono f-name (default-va