sorry I can't write English.
watch my code.
(def room-list (*atom[]*))
(def rooms-1 {:key "12345" :create-dt "2013-11-22" :user-list[ {:name
"name-1" :id "id-1"} {:name "name-2" :id "id-2"}] })
(def rooms-2 {:key "67890" :create-dt "2013-12-52" :user-list[ {:name
"name-3" :id "id-3"} {:name "name-3" :id "id-3"}] })
(swap! room-list conj rooms-1)
(swap! room-list conj rooms-2)
@room-list
--> [{:key "12345", :create-dt "2013-11-22", :user-list [{:name "name-1",
:id "id-1" } {:name "name-2", :id "id-2"}]}
{:key "67890", :create-dt "2013-12-52", :user-list [*{:name
"name-3", :id "id-3"}* {:name "name-3", :id "id-3"}]}]
I want remove red color text. ( red colore )
@room-list
--> [{:key "12345", :create-dt "2013-11-22", :user-list [{:name "name-1",
:id "id-1"} {:name "name-2", :id "id-2"}]}
{:key "67890", :create-dt "2013-12-52", :user-list [{:name
"name-3", :id "id-3"}] }]
I don't know how to remove...
dissoc,, pop, peek function can;t not solve.....
please help me...
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.