Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Stephen Chang
On Wed, Nov 21, 2012 at 2:22 PM, Asumu Takikawa wrote: > On 2012-11-21 12:50:49 -0600, Robby Findler wrote: >> On Wed, Nov 21, 2012 at 11:52 AM, Asumu Takikawa wrote: >> > Should queues also be streams or just sequences? >> >> I didn't think about this: if you think they should also be streams, >

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Robby Findler
While we're on the subject, I see I re-indented Carl's test cases. That was an accident and I'm sorry; I didn't mean to. Robby _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Matthew Flatt
I think these queues are not streams, because they're imperative. That is, the intent is that `stream-first' and `stream-rest' are functional. At Wed, 21 Nov 2012 13:28:33 -0600, Robby Findler wrote: > Oh, I'm not sure. I just picked sequences to fit into for loops. > (Indeed, the code was mostly

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Robby Findler
Oh, I'm not sure. I just picked sequences to fit into for loops. (Indeed, the code was mostly there already, I just stuck it on the struct.) On Wed, Nov 21, 2012 at 1:22 PM, Asumu Takikawa wrote: > On 2012-11-21 12:50:49 -0600, Robby Findler wrote: >> On Wed, Nov 21, 2012 at 11:52 AM, Asumu Takik

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Asumu Takikawa
On 2012-11-21 12:50:49 -0600, Robby Findler wrote: > On Wed, Nov 21, 2012 at 11:52 AM, Asumu Takikawa wrote: > > Should queues also be streams or just sequences? > > I didn't think about this: if you think they should also be streams, > that's okay with me. I'm not really sure of the benefits. I

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Robby Findler
On Wed, Nov 21, 2012 at 11:52 AM, Asumu Takikawa wrote: >> | [...] >> | >> | - make queues be sequences directly (and use make-do-sequence >> | to implement in-queue instead of building a list) > > Should queues also be streams or just sequences? I didn't think about this: if you think they sho

Re: [racket-dev] [plt] Push #25728: master branch updated

2012-11-21 Thread Asumu Takikawa
On 2012-11-21 12:10:10 -0500, ro...@racket-lang.org wrote: > 9863366 Robby Findler 2012-11-21 07:29 > : > | extend data/queue library Nice! > | [...] > | > | - make queues be sequences directly (and use make-do-sequence > | to implement in-queue instead of building a list) Should queues also