the behaviour seems to be the same in 1.4.0

Sunil.

On Thu, Apr 19, 2012 at 11:31 AM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:

> 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