Yeah I think you are right. I'll commit a change.
Kevin
On 09/30/2011 03:17 PM, John Clements wrote:
On Sep 30, 2011, at 5:28 AM, Sam Tobin-Hochstadt wrote:
On Fri, Sep 30, 2011 at 12:26 AM, John Clements
wrote:
I'm guessing that calling place-channel-put with a descriptor pulls out the
On Sep 30, 2011, at 5:28 AM, Sam Tobin-Hochstadt wrote:
> On Fri, Sep 30, 2011 at 12:26 AM, John Clements
> 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
On Sep 30, 2011, at 6:31 AM, Matthew Flatt wrote:
> At Fri, 30 Sep 2011 09:21:42 -0400, Eli Barzilay wrote:
>> A few minutes ago, Kevin Tew wrote:
>>> place-channel-put is not blocking.
>>
>> So "channel" in the name is not a good choice...
>
> We use "channel" for asynchronous channels, too, s
At Fri, 30 Sep 2011 09:21:42 -0400, Eli Barzilay wrote:
> A few minutes ago, Kevin Tew wrote:
> > place-channel-put is not blocking.
>
> So "channel" in the name is not a good choice...
We use "channel" for asynchronous channels, too, such as
`racket/asynch-channel'. Since all place channels are
A few minutes ago, Kevin Tew wrote:
> place-channel-put is not blocking.
So "channel" in the name is not a good choice...
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
_
place-channel-put is not blocking.
I'll add it to the docs.
On 09/30/2011 06:28 AM, Sam Tobin-Hochstadt wrote:
On Fri, Sep 30, 2011 at 12:26 AM, John Clements
wrote:
I'm guessing that calling place-channel-put with a descriptor pulls out the
associated channel... should the docs indicate t
On Fri, Sep 30, 2011 at 12:26 AM, John Clements
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._descripto
The example in the guide works fine:
#lang racket
(provide main)
(define (any-double? l)
(for/or ([i (in-list l)])
(for/or ([i2 (in-list l)])
(= i2 (* 2 i)
(define (main)
(define p
(place ch
(define l (place-channel-get ch))
(define l-double? (any-double? l)
8 matches
Mail list logo