Is there a way for me to take a function I defined on REPL and then save it 
to a file?

Example
julia > double(x) = 2*x
double (generic function with 1 method)
julia > savetofile(double, "myfile.jl")

After that I would open myfile.jl and see it's writher "double(x) = 2*x" 
there


Reply via email to