You might also find the nascent https://github.com/ohpauleez/jloj to be 
interesting for better lambda interop.

On Saturday, August 8, 2015 at 1:03:38 PM UTC-5, Andrew Oberstar wrote:
>
> I may end up in the same incomplete, unmaintained state as the other 
> libraries you've seen, but I'm slowly starting on a Java interop library 
> "cljj" (https://github.com/ike-tools/ike.cljj).
>
> - AutoCloseable - As James (Reeves) mentioned, clojure.core/with-open 
> meets this need.
> - NIO2 - Standard Java interop is functional, but can be a pain due to the 
> heavy use of varargs in NIO2 APIs. I'd like to wrap this in cljj.
> - Streams - Can add reduce/transduce support by implementing CollReduce 
> protocol. There's not a clean way to support the clojure.core/seq function, 
> that I've seen without wrapping the stream. I plan to support this in cljj.
> - Lambdas - I do find these to be a pain, and had a thread on this list a 
> week or two ago. Right now I'm planning to just have functions/macros to 
> wrap/define methods implementing java.util.function interfaces. Ideally, 
> the compiler would support this better. This is the only one that really 
> would require any change to Clojure itself for better Java 8 support IMO.
>
> I can understand James' (Elliott) desire to keep Java 6 compatibility for 
> platforms that are slower to adopt newer JVMs, but I hope that doesn't 
> become an excuse for Clojure to stay moored to the JVM's past for the 
> long-term.
>
> Andrew Oberstar
>

-- 
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.

Reply via email to