atom feed3 messages in com.googlegroups.clojureQueue
FromSent OnAttachments
Brian WatkinsJul 29, 2008 6:46 am 
ChouserJul 29, 2008 6:53 am 
Shawn HooverJul 29, 2008 10:32 am 
Subject:Queue
From:Brian Watkins (Wild@gmail.com)
Date:Jul 29, 2008 6:46:24 am
List:com.googlegroups.clojure

Is there an idiomatic way to use a seq as a queue? I'd like to have a seq and be able to append items to it that would appear after the items presently in it (or possibly still to be lazily generated). It would be nice to be able to append other seqs also.

I suppose I can wrap my seqs into a new seq object with this behavior myself and it won't be too complicated, but if it's been thought out before I'd like to use the tested method.

Hm, I could just use the Java queue container also, but that won't have all the clojure behavior especially if I'm consuming in more than one thread (not planned at this time).