On Feb 6, 2009, at 4:12 PM, Jeffrey Straszheim wrote:

> So, I notice that when you create a hash you do this:
>
> { :key-1 value-1 :key-2 value-2 ... etc ... }
>
> But when you destructure a hash, you do this:
>
> { formal-1 :key-1 formal-2 :key-2 ... etc ... }
>
> Is there a reason the order is reversed?
>

Yes, in order to support :as, :or, :keys etc.

Rich

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