Feature Request: Add map!(f, x)
to work as map!(f, x, x)
#36432
Labels
duplicate
Indicates similar issues or pull requests
map!(f, x)
to work as map!(f, x, x)
#36432
Currently we have
map(f, c...)
which applies map to a collection and when the map is supposed to store to a container rather than returning a new one we usemap!(f, dest, c...)
. However, when we have a single container over which we are supposed to apply map,map!(f, x)
syntax makes sense. Currently, we domap!(f, x, x)
.Example
The text was updated successfully, but these errors were encountered: