On Friday, February 7, 2003, at 03:38 PM, Uri Guttman wrote:
but you can't derive the rules about allowing push/pop/splice/slice fromIs there any syntactic reason why both of the following cannot be allowed?
that pair of defintions.
(1,2,3).pop
[1,2,3].pop
I don't know that one is any more/less useful than the other, and it would seem a list could be silently promoted to an array where it is used as an array. For example,
\(1,2,3)
returns an array reference...
MikeL