Larry Wall wrote:
: Void context still exists and is not a form of singular or plural
: context. Perhaps this should be called nullar context, although void
: context works equally well for me and is not confusing because we have
: no Void type.
Nice, without Void we don't need the double headed
So, following up on the Parens handling, are these two equivalent?
# Assuming is has the parameter signature (Str, Str, Str)
is((1,2), (3,4), hey);
is([1,2], [3,4], hey);
What happens if is is of type (Any, Any, Str)?
Thanks,
/Autrijus/
pgp0OW38SoE0X.pgp
Description: PGP signature
Autrijus Tang skribis 2005-04-21 4:19 (+0800):
So, following up on the Parens handling, are these two equivalent?
# Assuming is has the parameter signature (Str, Str, Str)
is((1,2), (3,4), hey);
is([1,2], [3,4], hey);
I think so.
What happens if is is of type (Any, Any, Str)?
On Wed, Apr 20, 2005 at 10:23:14PM +0200, Juerd wrote:
: Autrijus Tang skribis 2005-04-21 4:19 (+0800):
: So, following up on the Parens handling, are these two equivalent?
: # Assuming is has the parameter signature (Str, Str, Str)
: is((1,2), (3,4), hey);
: is([1,2], [3,4],
Autrijus asked me to summarize here what I said on IRC #perl6, and ask
Larry for another that's all correct.
I've rephrased everything as facts/assumptions.
Array context, as provided by a signature of Array $foo, is still
a form of scalar context, even though Array.isa(List).
Array is a
On Wed, Apr 20, 2005 at 11:28:23PM +0200, Juerd wrote:
: Autrijus asked me to summarize here what I said on IRC #perl6, and ask
: Larry for another that's all correct.
:
: I've rephrased everything as facts/assumptions.
:
: Array context, as provided by a signature of Array $foo, is still
: a