Colin,
PersistenQueue doesn't have direct Reader support. However:

user> (def source-queue (ref clojure.lang.PersistentQueue/EMPTY))
#'user/source-queue

user> (for [x (load-sources 1 2 3)]
           x)
(1 2 3)

with
(defn load-sources [& sources]
            (dosync 
             (alter source-queue into sources)))

Maybe I still don't get your problem but it seems to work for me :)
Andreas


On 29/03/2011, at 10:49 AM, colint wrote:

> orry perhaps I should have said my queue is a ref'ed PersistentQueue
> and so concat doesnt work as it works it returns a LazySeq.

--
"Test-driven Dentistry (TDD!) - Not everything should be test driven"
- Michael Fogus
-- 
**********************************************************
Andreas Koestler, Software Engineer
Leica Geosystems Pty Ltd
270 Gladstone Road, Dutton Park QLD 4102
Main: +61 7 3891 9772     Direct: +61 7 3117 8808
Fax: +61 7 3891 9336
Email: [email protected]

************www.leica-geosystems.com*************

when it has to be right, Leica Geosystems

Please  consider the environment before printing this email.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to