It's use cases like these that make me wish clojure.lang.Seqable and the like were protocols. Ah, one can dream...
On Sunday, October 5, 2014 11:59:15 PM UTC-4, Zach Tellman wrote: > > Calling (-> stream .iterator iterator-seq) should give the desired result. > > On Wednesday, October 1, 2014 6:39:11 AM UTC-7, José Ricardo wrote: >> >> By nicer I meant something like being able to use, for example, map and >> filter, just like I can do on a java.util.ArrayList (in clojure) and on a >> Stream (in java). >> >> On Saturday, September 27, 2014 1:47:38 AM UTC-4, Sean Corfield wrote: >>> >>> On Fri, Sep 26, 2014 at 11:51 AM, José Ricardo <zehz...@gmail.com> >>> wrote: >>> > Hi, I'm not sure if resurrecting this thread is the right approach, >>> but what >>> > about Java 8 Streams (java.util.stream)? >>> > >>> > Are there any libraries out there for making java 8 streams handling >>> nicer? >>> > :) >>> >>> Well, this thread is certainly a blast from the past :) >>> >>> Can you be a bit more specific about what you'd like to see "nicer" >>> with Java 8 streams, and what you'd like to see in a Clojure wrapper? >>> >>> I ask because Java 8 is the first version that I've been interested in >>> since I felt it went off the rails with Java 5 - and streams are part >>> of what makes Java 8 attractive again :) >>> -- >>> Sean A Corfield -- (904) 302-SEAN >>> An Architect's View -- http://corfield.org/ >>> World Singles, LLC. -- http://worldsingles.com/ >>> >>> "Perfection is the enemy of the good." >>> -- Gustave Flaubert, French realist novelist (1821-1880) >>> >> -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.