λnth ⍝ Index the nth element ≡› ⍝ Duplicate and store ⍨↾[ ⍝ Loop over x+1 Ḥ, ⍝ Pop the head and discard ]H ⍝ Get the head ⍨, ⍝ Remove modified array ‹⍨; ⍝ Get the original array