# How to define a function such that its arguments can mutate?

**URL:** https://discourse.julialang.org/t/how-to-define-a-function-such-that-its-arguments-can-mutate/66320
**Category:** General Usage
**Created:** [August 13, 2021, 4:59am UTC](https://discourse.julialang.org/t/how-to-define-a-function-such-that-its-arguments-can-mutate/66320 "2021-08-13T04:59:34Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![magister-ludi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/magister-ludi/32/4003_2.png) [@magister-ludi](https://discourse.julialang.org/u/magister-ludi)
#### Post date: [August 13, 2021, 1:47pm UTC](https://discourse.julialang.org/t/how-to-define-a-function-such-that-its-arguments-can-mutate/66320/15 "2021-08-13T13:47:23Z")

</div>

> [@CRquantum](#):
>
> May I ask, is there some relevant materials/links you could advise to read?

It’s great that you want to ask so many questions. I notice that several other people have suggested that you read the manual. Most of the questions you have asked are covered quite well in that document. I really do strongly recommend that you read it. It will save you a lot of time.

You might be too young to have encountered the comment “if you want Fortran, you know where to get it” 😉

---

_[View the full topic](https://discourse.julialang.org/t/how-to-define-a-function-such-that-its-arguments-can-mutate/66320)._
