Hi,

I've retrieved some data from my database which is returned as a
clojure.lang.PersistentVector:
org.psmsl.netcdf.core> res
[{:name "BREST", :time #<Date 1807-01-01>, :rlrdata 6882M} {:name
"BREST", :time #<Date 1807-02-01>, :rlrdata 6908M} {:name
"BREST", :time #<Date 1807-03-01>, :rlrdata 6873M}...{:name
"BREST", :time #<Date 2008-11-01>, :rlrdata 7140M} {:name
"BREST", :time #<Date 2008-12-01>, :rlrdata 7088M}]
org.psmsl.netcdf.core> (class res)
clojure.lang.PersistentVector

I thought I should be able to do:
(vals res)
but I get
clojure.lang.PersistentArrayMap cannot be cast to java.util.Map$Entry
and
org.psmsl.netcdf.core> (get res :time)
returns nil

What am I doing wrong?

Thanks,

Simon

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