You need to pass in a PersistentVector of PersistentVector's.  It's in
clojure.lang and there are a number of static creation methods.

On Jun 16, 9:37 am, allie <allison.terr...@gmail.com> wrote:
> There's a canonical intro on how to call or embed Clojure into 
> Java:http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#I...
>
> While this is a great introduction, the only thing Java passes in to
> Clojure here is a string. I've tried methods where Java passes in
> ints, and those work fine too.
>
> What I'm primarily concerned with is if there is some way to pass in a
> list/vector/etc, if there's a particular way to format the argument on
> the Java side so it can be easily converted on the Clojure side
> without much hassle (via vector or something similar), or if I need to
> just suck it up, pass in a string of numbers, and write a function on
> the Clojure side that handles all that.
>
> To be specific, I would like to make a vector that would end up in
> pairs: [[1 2] [3 4] [5 6]]. For those of you familiar with Incanter,
> this will then become a dataset.
>
> Thanks in advance.

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