Thank you guys!!

On Fri, Aug 31, 2012 at 11:59 AM, Jim - FooBar(); <[email protected]>wrote:

> defn will create a global var while fn won't...it is only visible in the
> scope it was originally defined...remember you can always do:
>
> (def f (fn [x] ...)) which is he same as defn
>
> Jim
>
>
> On 31/08/12 16:52, 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 [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
>> clojure+unsubscribe@**googlegroups.com<clojure%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/**group/clojure?hl=en<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 [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
> clojure+unsubscribe@**googlegroups.com<clojure%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/clojure?hl=en<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 [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

Reply via email to