# In-place map

**URL:** <https://discourse.julialang.org/t/in-place-map/47464>\
**Category:** General Usage\
**Created:** [September 29, 2020, 4:02am UTC](https://discourse.julialang.org/t/in-place-map/47464 "2020-09-29T04:02:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 29, 2020, 12:50pm UTC](https://discourse.julialang.org/t/in-place-map/47464/4 "2020-09-29T12:50:40Z")

</div>

> [@cstjean](#):
>
> a missing method `map!(f, iter)`

That’s a great idea, but given that the semantics is different from the current `map!`, perhaps a different name would be preferable. Also, there is no reason it can’t take multiple arguments, and just write into the first one.

So maybe `mapinto!(f, dst_and_first_arg, args...)`?

---

_[View the full topic](https://discourse.julialang.org/t/in-place-map/47464)._
