On Fri, Oct 30, 2009 at 9:36 PM, Josh Daghlian <daghl...@gmail.com> wrote:
> > Although I suppose this isn't too surprising: > > user> (second y) > --> ConcurrentModificationException Eeeuw. Guess it uses an Iterator to generate the elements for the lazy seq. For ArrayList, walking it by index would avoid this. For LinkedList it would make it O(n) as well though. Mutable collections really don't play nice with Clojure seqs. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---