RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Ryan Schmitt
I've been developing a library to bring Clojure data to Java developers. By "Clojure data" I mean both Clojure's persistent immutable data structures *and* serialized Edn data. I wanted access to Clojure's capabilities without having to use Clojure<->Java interop directly or make use of downcas

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Atamert Ölçgen
Really cool library, thanks for sharing. I was initially irked by the use of (mutable) Java collection interfaces, but then I read that they're made immutable when passed to the builder. I assume they're recursively converted to persistent representations. It reminded me of Guava's immutable class

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Ryan Schmitt
Set, Util, and List are actually just interfaces, and Clojure's collections implement them. The destructive operations throw UnsupportedOperationException of course, which is actually explicitly allowed by the spec: * The "destructive" methods contained in this interface, that is, the * metho

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Atamert Ölçgen
Perhaps if you make it easily available (making an early release) more people would use it and you might get more feedback then. You can always change interfaces, conventions etc. On Mon, Jun 16, 2014 at 3:09 AM, Ryan Schmitt wrote: > Set, Util, and List are actually just interfaces, and Cloju

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-16 Thread Ryan Schmitt
I'll look into it, I'm just sort of reluctant because I don't think people take beta warnings seriously. In the meantime, if all you want is a .jar file, you can just clone the git repo and run the Gradle build. You should also be able to open up the repo as an IntelliJ project. (Let me know if

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-16 Thread Atamert Ölçgen
Absolutely. I don't believe consumers (of open source projects) are entitled to anything anyway. I think it's a cool project and I hope it gets the attention. On Tue, Jun 17, 2014 at 1:02 AM, Ryan Schmitt wrote: > I'll look into it, I'm just sort of reluctant because I don't think people > tak

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-19 Thread Ryan Schmitt
This has proven to be somewhat complicated, but I've finally pushed a release of 0.1 to the staging repository. (I also added support for validating nested collections.) If all goes well, it should be available via Maven Central within a day or two. On Monday, June 16, 2014 7:09:07 PM UTC-7, At