[racket] Recovering the documentation index?

2012-03-05 Thread Simon Haines
Mostly when I install something from planet, the documentation somehow gets screwed up. For example, after I installed untyped/dispatch, I now have the following entries in my ~/.racket/5.2.1/doc/index.html page: (part ("(planet dispatch.scrbl (untyped dispatch.rkt 2 1) scribblings)" "top")) (pa

Re: [racket] Google Summer of Code 2012 Ideas

2012-03-05 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 +1 on this. On 03/02/2012 12:34 PM, Ray Racine wrote: > I'd like to see more foundational libraries along the lines of > say. > > - An Actor/Isolate high level message passing library over Places > And Threads. All the necessary low-level primitives

Re: [racket] Google Summer of Code 2012 Ideas

2012-03-05 Thread Nevo
Hi all! I don't quite follow how Racket web app framework has grown for some period, so not sure this may look appropriate as an potential GSoc idea. Currently there's open PaaS platform named cloudfoundry ( www.cloudfoundry.com). It's a real cloud platform and developers could use the supported

[racket] CFP: TFP12, Trends in Functional Programming 2012, St Andrews, U.K., June 12-14, 2012

2012-03-05 Thread Hans-Wolfgang Loidl
[In short: submissions of papers & ext'd abstracts by March 26th; TFP12 symposium June 12-14th; Apologies for multiple copies of this call -- HWL ] CALL FOR PAPERS 13th International Symposium

[racket] matching eof in a parser-tools lex-abbrev

2012-03-05 Thread Neil Van Dyke
In a "define-lex-abbrev", how do I match an EOF? For example: BEGIN #lang racket/base (require parser-tools/lex parser-tools/lex-sre) (define-lex-abbrev my-newline-or-eof-abbrev (: (? #\return) (or #\newline #;eos))) ;; TODO: Need to match EOF where "#;eos" is above.

[racket] cool things in Whalesong, part 2

2012-03-05 Thread Danny Yoo
Here's another example that's starting to work, though it isn't flashy yet. http://hashcollision.org/tmp/js-get-message/js-get-message-parent.html I know, I don't have any design sense yet. I need help. :) The first half of the window is a simple web-world program embedded in an iframe,

Re: [racket] phases

2012-03-05 Thread Jon Rafkind
I just pushed this to the guide. It appears under the 'macros' section, but maybe it should go somewhere else. I have some more edits to make to the text as well. On 03/01/2012 01:52 PM, Matthias Felleisen wrote: > Nice job. Now polish and add this write-up to the guide. Thanks -- Matthias > > >

Re: [racket] keyword initialization of structs?

2012-03-05 Thread Jay McCarthy
And something more powerful: https://github.com/jeapostrophe/exp/blob/master/sstruct-tests.ss Jay On 3/5/12, Tom McNulty wrote: > There's an example macro to do this here, although it'll only work for > structures you define. > > http://www.mail-archive.com/users@racket-lang.org/msg03392.html (

Re: [racket] Type-class-like idiom in Racket?

2012-03-05 Thread Helmut Rohrbacher
Sorry if this double posts. I just wanna say, as a new member, I'm impressed by the speed, volume, and quality of responses in this community. Not being simply told to RTFM or such is a really great change from many other places. > Or use structure properties to turn them into sequences (and th

Re: [racket] keyword initialization of structs?

2012-03-05 Thread Tom McNulty
There's an example macro to do this here, although it'll only work for structures you define. http://www.mail-archive.com/users@racket-lang.org/msg03392.html (See Matthias' response) I recall this example quite well, as it was very helpful when I was learning Racket macros. On 2012-03-05, a

[racket] keyword initialization of structs?

2012-03-05 Thread Dmitry Pavlov
Hello, I was wondering if Racket's struct instances can be initialized with keywords, like in the following example written in CL: * (defstruct foo bar baz) FOO * (make-foo :bar 1 :baz 2) #S(FOO :BAR 1 :BAZ 2) Best regards, Dmitry Racket Users list: http://lists.racke

Re: [racket] Type-class-like idiom in Racket?

2012-03-05 Thread Vincent St-Amour
At Sun, 4 Mar 2012 20:36:23 -0800, Helmut Rohrbacher wrote: > The only thing is, how do you extend these properties to built-in types > like LIST and VECTOR? I'm guessing that you'd need to wrap them in a > user-defined type... You could do that, or you could handle them specially in your generic

Re: [racket] Type-class-like idiom in Racket?

2012-03-05 Thread Sam Tobin-Hochstadt
On Mon, Mar 5, 2012 at 8:18 AM, Matthias Felleisen wrote: > > On Mar 4, 2012, at 11:36 PM, Helmut Rohrbacher wrote: > >> Danny & Matthias, >> >> I hadn't known about structure properties. I think lumping enough syntactic >> sugar onto your syntax definitions, Matthais, might make it feasible to

Re: [racket] Type-class-like idiom in Racket?

2012-03-05 Thread Matthias Felleisen
On Mar 4, 2012, at 11:36 PM, Helmut Rohrbacher wrote: > Danny & Matthias, > > I hadn't known about structure properties. I think lumping enough syntactic > sugar onto your syntax definitions, Matthais, might make it feasible to > reproduce something to provide the functionality I'm looking for

Re: [racket] Type-class-like idiom in Racket?

2012-03-05 Thread Jens Axel Søgaard
2012/3/5 Helmut Rohrbacher > Danny & Matthias, > > I hadn't known about structure properties. I think lumping enough > syntactic sugar onto your syntax definitions, Matthais, might make it > feasible to reproduce something to provide the functionality I'm looking > for. > > The only thing is, how