Bob Rogers wrote:
From: Leopold Toetsch <[EMAIL PROTECTED]>
Yep - that's still doable, but not in the middle, which looks insane to
me anyway.
Not always, seems to me. Sometimes, in order to implement a defined
protocol (e.g. for a callback), you must accept a parameter that you
don't need.
Well, that's easy:
# a b c d
get_params "(0,0,0,0"), $P1, $P2, $P2, $P3 # ignore b
The (called) subroutine could do that, but what if the callee is written
to return a series of separate values, but the caller wants them all as
a single object?
That's already implemented with the _SLURPY_ARRAY bit, which is the
equivalent of foldup. The slurpy array will also slurp more then one
array that are marked with the _FLATTEN bit.
> The proposal has argcI, argcP, ...
"The proposal"? (Register-)color me confused.
"[PROPOSAL] call syntax abstraction" - the base of all these changes.
leo