Yes it can! It's just a jar file after all, so you can use the classes in
your java program if you like.

However, clojure data structures typically do not use static typing as java
uses it. For example, PersistentVector is a collection of Objects and not
genericized. Getting things out of such a vector will no doubt require
typecasting, just like the old 1.4 days.

Phil
On Jun 2, 2012 9:25 PM, "Qihui Sun" <qihui....@gmail.com> wrote:

> Hi,the Thoughtworks technology radar mentioned below:
>
> http://www.thoughtworks.com/articles/technology-radar-march-2012
>
> Functional programming continues its slow but steady ascent into developer
> mind share and, increasingly, code bases. New languages like Clojure,
> Scala, and F# offer great new features. Now libraries such as*Functional
> Java*,* TotallyLazy and LambdaJ* are back porting some functional
> language capabilities, particularly around higher-order functions and
> collections, into Java. We like this trend because it previews common
> capabilities of future languages yet allows developers to stay in their
> comfort zone.
>
> So I am interested,if Clojure can be used like a general library in
> Java,it will beat above libraries and be awesome !
>
> --
> Solomon
> HUAWEI <http://www.huawei.com/>
> Google+: Qihui Sun <http://gplus.to/sunqihui>
>
>
>
>  --
> 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 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

Reply via email to