Skip to content

MapAt

Applies a function to the element at a given position.

$ wo 'MapAt[f, {a, b, c}, 2]'
{a, f[b], c}