On Thu, Apr 26, 2012 at 4:30 PM, blais <[email protected]> wrote:
> (Generally I find I get too little "cultural osmosis" when it comes to
> practical application of Clojure, so questions like this one come up all
> the time while I'm coding. Meetups and books touch on topics I understand
> well but rarely do people talk about the kinds of issues I'm encountering,
> like the one above. Libraries and other people's code often doesn't help
> all that much because it's fairly easy to do away with mutability in a
> library context. I'll just read more OPC for now I guess.)
Do you need to represent your data with that much nesting?
(def m {:planet ...
:country ...
:state ...
:city ...
:borough 4})
What's wrong with this representation?
David
--
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