Sorry perhaps I should have said my queue is a ref'ed PersistentQueue and so concat doesnt work as it works it returns a LazySeq.
On Mar 29, 12:16 pm, Andreas Kostler <[email protected]> wrote: > Hi Colin, > Can you be a bit more specific? The code you posted actually works without > vec... > > On 29/03/2011, at 6:52 AM, colint wrote: > > > > > > > > > Hi, is there a function to add the contents of seq to a collection > > without using vec and into combo? > > > (defn load-sources [&sources] > > (dosync > > (alter source-queue into (vec (sources))))) > > > cheers > > Colin > > > -- > > 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 -- 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
