Question: Is this a valid list operation?

Note that Maple 2026 is not an available option on the product list above. This operation was used in Maple 2026.

I obtained code for the shuffle product of two lists from the AI Assistant. Included in the code was the following list operation to extract a sublist.:

 defined list  u:=[a,b,c]:  extract the sublist using the operation u[2..-1] which gives correct result [b.c]

Normally, I would have expected this operation would be encoded as [op(2..-1),u] . 

Is the shortcut notion reliable or should the operation have been encoded using op() to be safe.

Please Wait...