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
ps
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
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 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 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, An