Re: defn within defn

2010-02-10 Thread Hozumi
eb 10, 2010 at 1:28 PM, Hozumi wrote: > > Hi all. > > Is it not recommended to use defn within defn? > > > Normal function is faster than the function which has inner function > > which actually doesn't run. > > ---

Re: defn within defn

2010-02-10 Thread Kevin Downey
0, 2010 at 1:28 PM, Hozumi wrote: > Hi all. > Is it not recommended to use defn within defn? > > Normal function is faster than the function which has inner function > which actually doesn't run. > --

Re: defn within defn

2010-02-10 Thread .Bill Smith
Hozumi, nested defn's are definitely not recommended. I suggest using letfn for the inner function. Bill Smith Austin, TX On Feb 10, 3:28 pm, Hozumi wrote: > Hi all. > Is it not recommended to use defn within defn? > > Normal function is faster than the function which h

defn within defn

2010-02-10 Thread Hozumi
Hi all. Is it not recommended to use defn within defn? Normal function is faster than the function which has inner function which actually doesn't run. -- (defn aaa1 [] (defn bbb [] 1) 1) (defn aaa2 [] 1)