in reply to Re^4: shift in list context buggy?
in thread shift in list context buggy?
splice doesn't even mention "void".
No, but the equivalence documentation you cite shows all examples in void contexts.
And in that context, the examples -- designed to explain the somewhat complex behaviour of splice in terms of the readily understandable push, pop, shift & unshift -- are exactly equivalent. Ie. Their affect on the running programs are identical.
But those examples are meant to explain splice in terms of the simpler operations -- not the other way around.
You are the only person who is trying to misinterpret these simple examples of equivalence within the very restricted context in which they are show -- all void; ie. devoid of any assignments or if or while statements -- in an obscure part of the documentation, to be some definitive statement that was never intended, in support of conclusions that do not stand up and have zero merit.
Worse thing is; you know it; but you keep on bleating away at it....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: shift in list context buggy?
by LanX (Saint) on Nov 12, 2013 at 15:33 UTC | |
by BrowserUk (Patriarch) on Nov 12, 2013 at 15:36 UTC | |
by LanX (Saint) on Nov 12, 2013 at 16:08 UTC | |
by tye (Sage) on Nov 12, 2013 at 16:29 UTC | |
by LanX (Saint) on Nov 12, 2013 at 16:40 UTC | |
| |
by BrowserUk (Patriarch) on Nov 12, 2013 at 16:15 UTC | |
|