I was exploring passing functions to functions and wrote the following 

function z(x,y)      
   x+y
end

function zz(z)
end

g = zz(2,3)    # gives a result g = 5

function zzz(zz)
end

c = zzz(1,7)   #no result, claims that zzz has no methods for two int64 
arguments.

Why is that? I would expect when g was evaluated it used function z for the 
evaluation of zz and hence, when calling zzz it would be reaching all the 
way back to  z?


Reply via email to