Ooops - gmail malfunction

First problem, in Java:
    new Object[]{"Venus"}

creates a new object array - containing the String "Venus".

Your clojure code
    Object. ["Venus"])

is trying to call the constructor of Object passing in a single argument
which is a Clojure Vector. This isn't going to work.

Look at
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/object-arrayinstead.

R.


On 26 June 2011 21:08, Robert Lally <rob.la...@gmail.com> wrote:

> First problem:
>
> In Java:
> new Object[]{"Venus"}
>
>
>
> On 26 June 2011 18:46, .Bill Smith <william.m.sm...@gmail.com> wrote:
>
>> Can you describe the problem you are having?
>>
>> --
>> 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
>>
>
>
>
> --
> Blog : http://robertlally.com
>



-- 
Blog : http://robertlally.com

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