On Feb 5, 9:44 pm, nchubrich <nicholas.chubr...@gmail.com> wrote:
> Is there ever any reason to use memfn as opposed to ordinary
> functions, i.e.
>
> (def div (fn [x y] (.divide x y)))

You should normally use the doted notation. I used it while
experimenting with a macro that wrap Java classes, but it isn't the
right way to that after all. So I really don't know of any use for it.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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