I like the idea because it would turn an intuitive way to write this interleaving from an n-squared into a linear algorithm. I have logged an RFE (ref 5750) to this effect.
However, {⍺,⍺⍺,⍵}/ is an incomplete expression (a conjunction of two operators) and so could not be named. We might have to consider a more complex idiom:
Code: Select all
sandwich ← {↑⍺{⍺,⍺⍺,⍵}/⍵} ⍝ sandwich idiom.
'-' sandwich 'now' 'is' 'the' 'time'
now-is-the-time
John.