Yep, that helps. Thanks! On Fri, Aug 10, 2018 at 2:42 AM Dimitrios Jim Piliouras < jimpil1...@gmail.com> wrote:
> Hi Andrew, > > Well, for the native java Stream case, your 'early-spliterator' has to be > able to split the Spliterator it's wrapping instead of always returning > nil. For the Stream around a seq case, you need to ditch 'iterator-seq', > and implement something splitable. See my SeqSpliterator deftype... > > Hope that helps 😁 > > Excuse my brevity - Sent from my phone > Dimitris > > > On Fri, 10 Aug 2018, 00:09 Andrew Oberstar, <ajobers...@gmail.com> wrote: > >> Dimitris, always glad to see people improving Java interop! Nice work! >> >> I noticed your mention of my library (ike.cljj) in the readme and was >> curious about the parallel streams. I haven't had a use case for them in >> any of my stream work so far, so I didn't think to test it when I wrote >> ike.cljj. Is the missing piece to support parallel the combine function? >> >> Andrew Oberstar >> >> On Thu, Aug 9, 2018 at 11:05 AM dimitris <jimpil1...@gmail.com> wrote: >> >>> Damn! Here is the correct link: >>> >>> https://github.com/jimpil/clambda >>> >>> On 09/08/18 17:03, dimitris wrote: >>> >>> Hi folks, >>> >>> https://github.com/jimpil/clambda <https://github.com/jimpil/clamda> >>> >>> *clambda* is a little library for working with Java Streams from >>> Clojure, and to a lesser extend, for working with Clojure seqs from Java. >>> Parallel streams are fully supported, but there are some gotchas (described >>> in the README). Convenience helper for constructing Lambdas on-demand from >>> plain Clojure functions, exists as well. >>> >>> This library was motivated by the memory-mapped parallel stream returned >>> by `Files.lines()` in JDK9. We can now take *full* advantage of it (and >>> other Streams like it) from Clojure. >>> >>> Enjoy & feedback is always welcome ;) >>> >>> Kind regards, >>> >>> Dimitris >>> ps: I didn't even try to have the misspelled `clamda` removed from >>> clojars as my reason clearly didn't qualify. I did push a new version with >>> the "DEPRECATED" prefix, so hopefully there won't be any confusion. Again, >>> apologies... >>> >>> >>> <https://github.com/jimpil/clamda> >>> >>> >>> <https://github.com/jimpil/clamda> >>> >>> >>> <https://github.com/jimpil/clamda> >>> >>> >>> -- >>> 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. >>> >> -- >> 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. >> > -- > 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. > -- 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.