User blog comment:Googleaarex/Warp Notation/@comment-25418284-20140415055521/@comment-5029411-20170220021420

Then let define Linear Facepalm Function:

Facepalm(n,A) = Headdesk, but using Facepalm(n-1,A) instead of Facepalm.

If n is 1, then ignore and start the process on first entry of A.
 * 1) If the entry is 1 then go to next entry
 * 2) Else, decrease the entry by 1 and set the previous entry with Facepalm.