Re: [racket] Functional Data Structures for Typed Racket?

2012-05-22 Thread Vincent St-Amour
They're available on PLaneT: http://planet.racket-lang.org/display.ss?package=pfds.plt&owner=krhari Asumu has an updated version on github. https://github.com/takikawa/tr-pfds Vincent At Wed, 23 May 2012 11:48:42 +1000, Simon Haines wrote: > > [1 ] > [1.1 ] > I'm pretty keen to try out some

Re: [racket] Help with simple macro

2012-05-22 Thread Harry Spier
Thanks to this Eli, I now see what parameters are. By chance I also just came across your's, Ryan's and Matthew's article "Keeping It Clean with Syntax Parameters" http://www.schemeworkshop.org/2011/papers/Barzilay2011.pdf that makes crystal clear all the issues about the question I asked. Cheers

[racket] Functional Data Structures for Typed Racket?

2012-05-22 Thread Simon Haines
I'm pretty keen to try out some of the new data structuresfor typed Racket, but they haven't landed yet--either in 5.2.1, or in the repo last I checked. Is there any notion of when I might be able to get my hands on them? -- Simon. ___

Re: [racket] Macro stepper expansion

2012-05-22 Thread Ryan Culpepper
On 05/21/2012 08:13 PM, Harry Spier wrote: I've entered the following example from the Racket Guide into DrRacket #lang racket (define-syntax-rule (swap X Y) (let ([tmp X]) (set! X Y) (set! Y tmp))) (let ([tmp 5] [other 6]) (swap tmp other) (list tmp other)) It gives me the

Re: [racket] Can't figure out how to use module after raco planet fileinject

2012-05-22 Thread Shawn Smith
Never mind, asumu on #racket mentioned I need to use provide in the module. I will do that. Shawn On Tue, May 22, 2012 at 11:28 AM, Shawn Smith wrote: > Hi, > > I created a planet archive locally with raco planet create, then I > installed it into my local cache with raco planet fileinject. >

Re: [racket] TypedRacket and SubModules

2012-05-22 Thread Sam Tobin-Hochstadt
On Tue, May 22, 2012 at 12:13 PM, Ray Racine wrote: > Currently Typed/Racket does not recognized submodules. > >   Type Checker: cannot typecheck unknown form : (module util > typed/racket/base ... > > Will they be supported in the near future. I hope to have this working before the next release

[racket] Can't figure out how to use module after raco planet fileinject

2012-05-22 Thread Shawn Smith
Hi, I created a planet archive locally with raco planet create, then I installed it into my local cache with raco planet fileinject. All I've written in Dr Racket so far is: (require (planet "something.rkt" ("shawnps" "something-racket.plt" 1 1))) and it runs fine. I can see it in the module b

[racket] TypedRacket and SubModules

2012-05-22 Thread Ray Racine
Currently Typed/Racket does not recognized submodules. Type Checker: cannot typecheck unknown form : (module util typed/racket/base ... Will they be supported in the near future. Thanks, Ray Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Plot woes

2012-05-22 Thread Eli Barzilay
Three hours ago, Matthias Felleisen wrote: > > On May 22, 2012, at 8:05 AM, Neil Toronto wrote: > > > I've thought of such things before. Unfortunately, plot doesn't > > know where any singularities are, so it can't specifically sample > > the function at those points. I could probably allow the

Re: [racket] Plot woes

2012-05-22 Thread Jens Axel Søgaard
2012/5/22 Matthias Felleisen : > On May 22, 2012, at 8:05 AM, Neil Toronto wrote: > >> I've thought of such things before. Unfortunately, plot doesn't know where >> any > singularities are, so it can't specifically sample the function at those > points. I could > probably allow the user to tell p

Re: [racket] Plot woes

2012-05-22 Thread Matthias Felleisen
On May 22, 2012, at 8:05 AM, Neil Toronto wrote: > I've thought of such things before. Unfortunately, plot doesn't know where > any singularities are, so it can't specifically sample the function at those > points. I could probably allow the user to tell plot where they are, but I > can't thin

Re: [racket] Plot woes

2012-05-22 Thread Neil Toronto
I've replied to the list because this might be useful for other people. On 05/22/2012 02:41 AM, Jens Axel Søgaard wrote: Hi Neil, I am attempting to draw 1/x in using plot. Ideally I'd like to be able to write: (lambda (x) (if (zero? x) #f (/ x)) in order to plot a function with singularit

Re: [racket] Lazy Racket?

2012-05-22 Thread Matthias Felleisen
On May 22, 2012, at 1:53 AM, Michael Rice wrote: > I was thinking more along this line: > > http://docs.racket-lang.org/quick/ > > Can I do everything that's there with Lazy Racket? That's a research question. In principle, yes but you may find yourself surprised by occasional strange errors