If I have
(def a "((a,"a1",0.533,0.122,0.608,0.258)
(c,"c1",0.863,0.031,0.998,0.667)
(b,"b1",0.53,0.117,0.609,0.256))")
I would like to have
(def b '((a,"a1",0.533,0.122,0.608,0.258)
(c,"c1",0.863,0.031,0.998,0.667)
(b,"b1",0.53,0.117,0.609,0.256)))
where I can access each element in b with
(first b) ; which should return (a,"a1",0.533,0.122,0.608,0.258)
and
(type (first (first b)) ; returns clojure.lang.Symbol
(type (second (first b)) ; returns java.lang.String
(type (last (first b)) ; returns java.lang.Double
I tried just putting (symbol a) but that seems to turn the entire string into a single symbol.