How do you remove a function you have created when working in the Julia REPL? Can this be done without restarting the session? This came up for me because I created a function with the wrong type input, then made it correctly, but couldn't get rid of the old one.
The FAQ at http://docs.julialang.org/en/release-0.4/manual/faq/ states:
Julia does not have an analog of MATLAB’s clear function; once a name is
defined in a Julia session (technically, in module Main), it is always present.
.jl
files, it can be re-run in a fresh Julia interpreter. Take home: be ready to restart occasionally. This would clear up any residual namespace pollution and is also important for replicability. – Dan Getz