On Tuesday, March 19, 2013 8:39:26 PM UTC+1, Jim foo.bar wrote:
>
> Hello all,
>
> can anyone help me destructure the following map in order to access
> directly w1 w2 & w3 ? I've been trying for 20 minutes now! (how useless
> am I? :( )
>
> {:weights {:w1 0.2 :w2 0.3 :w3 0.5}
> :uni-probs {...} :bi-probs {...} :tri-probs {...}}
>
{{:keys [w1 w2 w3]} :weights}
--
--
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.