# Mapsplat function

**URL:** <https://discourse.julialang.org/t/mapsplat-function/87020>\
**Category:** General Usage\
**Created:** [September 9, 2022, 9:19pm UTC](https://discourse.julialang.org/t/mapsplat-function/87020 "2022-09-09T21:19:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [September 9, 2022, 9:19pm UTC](https://discourse.julialang.org/t/mapsplat-function/87020/1 "2022-09-09T21:19:04Z")

</div>

Does this function exist already somewhere?

```julia
mapsplat(f, xs...) = map(Base.splat(f), xs...)

```

---

<div class="post-metadata">

**Author:** ![mikmoore](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikmoore/32/31109_2.png) [@mikmoore](https://discourse.julialang.org/u/mikmoore)\
**Post date:** [September 12, 2022, 2:29pm UTC](https://discourse.julialang.org/t/mapsplat-function/87020/2 "2022-09-12T14:29:46Z")

</div>

Pretty sure this doesn’t exist in baseline Julia. But you can certainly define it for yourself.

For something this easy to assemble, it seems unlikely it would be added unless there was a notable performance benefit or some other compelling reason.
