I wonder how to print the expression of a function, e.g. x.^2 for the 
following example.

julia> f(x) = x.^2
f (generic function with 1 method)

julia> f
f (generic function with 1 method)

If it is not possible for the expression of a function as simple as the 
above to be printed, is there a way to display more info for a function, 
instead of just the reference of the container f? 

I searched in the past threads and didn't any similar question. But this 
may be the case because what I'm asking is, again, a dumb question.

Thanks.

Calvin

Reply via email to