Re: Clojure as a Java lib documentation / examples?

2009-05-22 Thread David Powell
On Fri 22/05/09 02:23 , Brett Morgan brett.mor...@gmail.com sent: Hi guys, I have some evil thoughts of using Clojure as a java library so that i can use both the STM and the persistent data structures in projects that my team of java developers can work with. As much as I'd like to

Clojure as a Java lib documentation / examples?

2009-05-21 Thread Brett Morgan
Hi guys, I have some evil thoughts of using Clojure as a java library so that i can use both the STM and the persistent data structures in projects that my team of java developers can work with. As much as I'd like to get the team coding in Clojure properly, I have enough trouble selling the

Re: Clojure as a Java lib documentation / examples?

2009-05-21 Thread Nathan Hawkins
Try here: http://code.google.com/p/clojure/source/browse/ Brett Morgan wrote: Hi guys, I have some evil thoughts of using Clojure as a java library so that i can use both the STM and the persistent data structures in projects that my team of java developers can work with. As much as I'd

Re: Clojure as a Java lib documentation / examples?

2009-05-21 Thread Adrian Cuthbertson
Check out clojure.org - focus on java interop, compilation and class generation. Mark Volkmann's http://java.ociweb.com/mark/clojure/article.html has a good general clojure overview and nice examples. Gen-class and proxy are the main tools you'll need for exposing your clojure libraries as java