On 2025-09-13 22:21, Rowan Tommins [IMSoP] wrote:
On 12 September 2025 20:02:04 BST, "Dušan Kreheľ" <[email protected]> wrote:

Since we have an extremely well-established array_push shorthand, so don't need a new one, we could perhaps have 
"<" for "at start", and "-" for "pop":

$foo[<] = $toUnshift;
$shifted = $foo[-<];


Which looks like it would

$foo[0] $foo[1] $foo[2] <-- put $toUnShift here

rather than

put $toUnshift here --> $foo[0] $foo[1] $foo[2]

Reply via email to