[racket-dev] More places questions

From: John Clements (clements at brinckerhoff.org)
Date: Fri Sep 30 17:17:05 EDT 2011

On Sep 30, 2011, at 5:28 AM, Sam Tobin-Hochstadt wrote:

> On Fri, Sep 30, 2011 at 12:26 AM, John Clements
> <clements at brinckerhoff.org> wrote:
>> I'm guessing that calling place-channel-put with a descriptor pulls out the associated channel... should the docs indicate this?
> The docs here: http://pre.racket-lang.org/docs/html/reference/places.html?q=place#%28tech._place._descriptor%29
> say that.

They do indeed; specifically, they say "Every place descriptor is also a place channel".

But in that case, I think that this program:

#lang racket

(define (main)
  (define p 
    (place ch
  (place-channel? p))

... should produce #t, but it produces #f. No?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110930/c719740f/attachment.p7s>

Posted on the dev mailing list.