CLOJURE
Hi everyone, I am new to clojure. I would like to update my record with a split string.
(defrecord Learning [Name Age Gender])
(def person [:Name :Age :Gender])
(let person
(clojure.string/split "John,12,Male" #","))
I am able to split the string but it throws an exception
IllegalArgumentException let requires a vector for its binding in ShipDataRecord:1 clojure.core/let (core.clj:3965)
Can Someone kindly explain how should I go about doing it?
let