On Wed, May 16, 2012 at 1:57 PM, Murtaza Husain
<[email protected]> wrote:
> What is the idiomatic use of partial. I understand it helps create closures,
> however the reader notation also allows to the same. So when should partial
> be use dover other forms of creating functions.
Also, for the sake of spamming of group (^_^), I find that many of the
times I've elected to use `#` to define a truly anonymous function, as
in a function that isn't building on something else, per se, but is
just being used in the local context to do something specific, I
almost always end up pulling it out later at least into a let-fn form
if not into a top level form. It's a little like leaving the `{}` off
of a one line if statement. It saves a little typing, but over the
long haul it almost always seems to come back to bite you.
--
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