[racket-dev] engine-kill from racket/engine

2013-06-24 Thread Asumu Takikawa
Hi all, I was trying to write an example for the racket/engine docs and stumbled on a case that seems to cause a deadlock. I'm curious if this is intentional or just accidental behavior. Here's the example: #lang racket (require racket/engine) (define e (engine (lambda (s) (sleep 5 (

[racket-dev] local-transformer-expand behavior

2013-06-24 Thread Asumu Takikawa
Hi all, Does anyone know what the behavior of (local-transformer-expand #'(define x 3) 'top-level null) should be? I'm not sure, but I expected something like what `local-expand` would do. Instead, I get an error like this: > (define-syntax (m stx) (local-transformer-expand #'(

Re: [racket-dev] Keywords

2013-06-24 Thread Laurent
Here's a simple demo for procedures if you want to try it out: https://gist.github.com/Metaxal/5851215 Laurent On Mon, Jun 24, 2013 at 4:54 PM, Laurent wrote: > > > > On Mon, Jun 17, 2013 at 5:09 PM, Matthias Felleisen > wrote: > >> >> p.s. On second thought, for structs you want two construc

Re: [racket-dev] Keywords

2013-06-24 Thread Laurent
On Mon, Jun 17, 2013 at 5:09 PM, Matthias Felleisen wrote: > > p.s. On second thought, for structs you want two constructors: > -- one that takes positional arguments > -- one that takes keyword arguments > My intent was that you could use both positional and keyword arguments at the same time,

Re: [racket-dev] Mangaging `unstable` with packages

2013-06-24 Thread Eli Barzilay
A few minutes ago, Sam Tobin-Hochstadt wrote: > On Mon, Jun 24, 2013 at 3:52 AM, Eli Barzilay wrote: > > On Friday, Sam Tobin-Hochstadt wrote: > >> > >> # `unstable/list` > >> > >> - `remf`, `list-update` `list-set` `map/values`: move to > >> `racket/list` > >> - `group-by`: rename to `group`, a

Re: [racket-dev] Mangaging `unstable` with packages

2013-06-24 Thread Sam Tobin-Hochstadt
On Mon, Jun 24, 2013 at 3:52 AM, Eli Barzilay wrote: > On Friday, Sam Tobin-Hochstadt wrote: >> >> # `unstable/list` >> >> - `remf`, `list-update` `list-set` `map/values`: move to >> `racket/list` >> - `group-by`: rename to `group`, add keyword argument `#:by` >> defaulting to `equal?`, move to

Re: [racket-dev] Mangaging `unstable` with packages

2013-06-24 Thread Sam Tobin-Hochstadt
I also don't know what they are. They appear to have been added by Neil T 18 months ago. Neil? Sam On Jun 21, 2013 6:37 PM, "Robby Findler" wrote: > > I'm not completely clear on what latent-contracts are, but perhaps options > should be being used there? > > Robby > > > On Fri, Jun 21, 2013

Re: [racket-dev] Mangaging `unstable` with packages

2013-06-24 Thread Eli Barzilay
On Friday, Sam Tobin-Hochstadt wrote: > > # `unstable/list` > > - `remf`, `list-update` `list-set` `map/values`: move to > `racket/list` > - `group-by`: rename to `group`, add keyword argument `#:by` > defaulting to `equal?`, move to `racket/list` All of these are used in the tree only by thei