Most Java types don't have reversible serialisation in Clojure. There's
actually only a small subset of data types that can be printed and then
read without losing information.

- James

On 20 June 2015 at 01:08, Joe Corneli <holtzerman...@gmail.com> wrote:

> This is an interaction with Clojure via CIDER.
>
> repl [1]> (type (into-array String ["Awesome"]))
> [Ljava.lang.String;
> repl [2]> [Ljava.lang.String;
> RuntimeException EOF while reading, starting at line 1
> clojure.lang.Util.runtimeException (Util.java:221)
> repl [3]> (quote [Ljava.lang.String;)
>
> CIDER won't let me enter [3] claiming that the input is not complete.
> What's going on here, apart from things not working?  If
> [Ljava.lang.String; is a valid return value, and can show up in code that I
> construct programmatically, why is it not valid input?  Is this a flaw in
> CIDER / lein, or are they giving me the right answers here?
>
> --
> 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.
>

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