basedpl

@ — At

A@I Y replaces selected items with A, returning a new array.

0@2 4⊢⍳5           ⍝ 1 0 3 0 5

f@I Y applies f to the selection, then puts it back.

⌽@2 4⊢⍳5           ⍝ 1 4 3 2 5

Numeric index arrays select leading-axis cells. Their shape precedes the remaining cell axes, as with bracket indexing.

v←10 20 30 40 ⋄ i←2 2⍴1 4 2 3
{⍵+2 2⍴100 200 300 400}@i⊢v  ⍝ 110 320 430 240

A function right operand computes a Boolean selection mask.

0@(2∘|)⍳5          ⍝ 0 2 0 4 0

Indices include nested paths. Dyadic calls pass the left argument to the replacement function. Repeated indices are written in order; the last replacement wins.