[racket] racket/place seems to be incompatible with DrRacket

From: Kevin Tew (tewk at cs.utah.edu)
Date: Tue Aug 30 14:32:52 EDT 2011

Place are spawned by dynamically requiring a module.

It appears that an unsaved module in drracket gets the name 
"anonymous-module" and the module-name-resolver doesn't know how to find 

I think drracket needs to uniquely name these anonymous-modules and then 
install a
module-name-resolver that can return the correct anonymous module when 

I assume these anonymous modules exist in the drracket environment, just 
not on disk.


On 08/30/2011 12:12 PM, Robby Findler wrote:
> Kevin: when I follow the steps exactly as written, I get this error
> message on stdout (under windows):
> standard-module-name-resolver: collection not found: "anonymous-module" in any o
> f: (#<path:C:\Users\robby\AppData\Roaming\Racket\\collects>  #<path:C:\Use
> rs\robby\git\exp\plt\collects>)
> I believe this to be a bug in the implementation of 'place' and to
> have something to do with the name of the source locations that
> DrRacket uses when the file is not saved.
> Robby
> On Tue, Aug 30, 2011 at 12:14 PM, Kevin Tew<tewk at cs.utah.edu>  wrote:
>> When I run the code below in drracket, the code seems to run indefinitely.
>> When I hit the stop button the (place-channel-get p) sexp is highlighted in
>> pink.
>> Kevin
>> On 08/30/2011 08:54 AM, David Mitchell wrote:
>> #lang racket
>> (define (super-simple)
>>    (define p
>>      (place ch
>>             (place-channel-put ch 5)))
>>    (place-channel-get p))
>> _________________________________________________
>>   For list-related administrative tasks:
>>   http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.