Hi Everybody,
 I was just wondering if the following behaviour is the right behaviour..
can somebody comment?

user>> (let [{{a :a b :b :as w} :c a1 :a b1 :b :as w} {:a 10 :b 20 :c {:a
30 :b 40}}] {:a a :b b  :b1 b1 :a1 a1})
{:a 30, :b 40, :b1 40, :a1 30}

user>> (let [{{a :a b :b :as w} :c a1 :a b1 :b :as w1} {:a 10 :b 20 :c {:a
30 :b 40}}] {:a a :b b  :b1 b1 :a1 a1})
{:a 30, :b 40, :b1 20, :a1 10}


I agree that I have two- 'w' s in the first one while I have 'w' and 'w1'
in the second . And the second behaviour is the expected behaviour..
clojure-version 1.2.1

Thanks,
Sunil.

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