> Please note that actually def'ing each value is not what you're
> supposed to do :) def is reserved for global constants and dynamically
> rebindable variables, and redefing an existing variable is considered
> bad style.
The def was for legibility (or I was going for legibility). Speaking
of redefing, is there a way to block a redef so I or someone else
doesn't monkey-patch a function?
> (let [base {:father father :mother mother}]
> (for [c children] (assoc base :name c))))
>
> ;; note, that's not a for loop, but a seq comprehension
That's pretty clear syntax.
Thanks everyone.
--
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
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.