Blog post about my experiences with Julia

Uhm… no, that is because you are not tracking the changes there. If you put the function in a file (or module), Revise tracks the changes:

julia> using Revise

julia> includet("./teste.jl")

julia> f(1)
1

julia> f(1)
2

where teste.jl is:

#f(x::Int) = 1
f(x) = 2
9 Likes