How to use the REPL to speed up modular development by dynamically replacing function definitions

If you want to do it that way, the function keyword needs to come first,

function MainModule.MyModule.exampleFunction()
    println("bye")
end