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

**URL:** https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326
**Category:** New to Julia
**Tags:** question
**Created:** [November 6, 2024, 10:41am UTC](https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326 "2024-11-06T10:41:08Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)
#### Post date: [November 6, 2024, 7:55pm UTC](https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326/10 "2024-11-06T19:55:02Z")

</div>

> [@world-peace](#):
>
> It is obvious what I am doing wrong here?

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

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

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326)._
