@dmirylenka
Thanks. That is useful to know.

On Mon, Sep 3, 2012 at 3:00 PM, dmirylenka <daniilmirile...@gmail.com>wrote:

> Just 2 cents:
>
> A name you give to the anonymous function also appears in the stack traces
> instead of the things like fn_123_4532,
> which is very convenient for debugging.
>
> On Friday, August 31, 2012 5:52:55 PM UTC+2, Erlis Vidal wrote:
>>
>> Hi guys,
>>
>> I've been reading but I'm still confused about the difference between an
>> anonymous function with name vs a defn function
>>
>> (fn my-func1[x] x)
>>
>> (defn my-func2[x] x)
>>
>> Thanks,
>> Erlis
>>
>  --
> 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
>

-- 
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