# About mapping functions and a deepmap!() function

**URL:** <https://discourse.julialang.org/t/about-mapping-functions-and-a-deepmap-function/51702>\
**Category:** General Usage\
**Tags:** question, proposal, data\
**Created:** [December 12, 2020, 3:30am UTC](https://discourse.julialang.org/t/about-mapping-functions-and-a-deepmap-function/51702 "2020-12-12T03:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rapasite](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rapasite/32/3719_2.png) [@rapasite](https://discourse.julialang.org/u/rapasite)\
**Post date:** [December 12, 2020, 3:58am UTC](https://discourse.julialang.org/t/about-mapping-functions-and-a-deepmap-function/51702/2 "2020-12-12T03:58:03Z")

</div>

Peoples more advance than me could probably modify Julia to make it create all the functions:

```julia
deepmap!(f,A::Type1) = f(A)
deepmap!(f,A::Type2) = f(A)
....

```

for all Type `TypeN` for witch the function `f` is define and thus make sure to always be types stable while making it easy to program as well (you don’t need to define them by yourself).

---

_[View the full topic](https://discourse.julialang.org/t/about-mapping-functions-and-a-deepmap-function/51702)._
