Scan First R←f⍀Y

The form R←f⍀Y implies scan along the first axis of Y.  See Scan.