On #perl6 Larry said that STD is a part of the specification for perl6.
Would it be possible to include a link to STD.pm in the list of official
documentation?
There are things in STD that are not in the specifications, eg., default
values for optional parameters should come after traits
On May 23, 2009 11:31:35 pm John M. Dlugosz wrote:
Henry Baragar Henry.Baragar-at-instantiated.ca |Perl 6| wrote:
sub f2 (@y) {say @y.WHAT; say +...@y}; f2(Nil);
Array()
1
Why doesn't +...@y produce 0, not 1? It's an empty list.
From rakudo:
sub f2 (@y) {say @y[0]};
Author: schwarzer
Date: 2009-05-24 21:46:24 +0200 (Sun, 24 May 2009)
New Revision: 26928
Modified:
docs/Perl6/Spec/S02-bits.pod
docs/Perl6/Spec/S06-routines.pod
docs/Perl6/Spec/S19-commandline.pod
docs/Perl6/Spec/S28-special-names.pod
Log:
[Perl6/Spec] typos
Modified:
Henry Baragar Henry.Baragar-at-instantiated.ca |Perl 6| wrote:
Good question, since Nil does Positional, as evidenced by rakudo:
say Nil ~~ Positional
1
Should report this as a bug?
Henry
At the very least, it is the most simple test case for Nil. Should be
in the
On May 23, 2009 11:26:16 pm John M. Dlugosz wrote:
From whence did it get its Item container?
OK, my brain made a wrong turn some time on Tuesday.
Let me review the basics.
From S02:
|$x| may be bound to any object, including any object that can be bound
to any other sigil.
Perl
Author: jdlugosz
Date: 2009-05-25 06:10:06 +0200 (Mon, 25 May 2009)
New Revision: 26929
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
Code to Callable, clarify Type under smart matching (see
http://irclog.perlgeek.de/perl6/2009-05-24#i_1171474
Modified: docs/Perl6/Spec/S03-operators.pod
Henry Baragar Henry.Baragar-at-instantiated.ca |Perl 6| wrote:
On May 23, 2009 11:26:16 pm John M. Dlugosz wrote:
From whence did it get its Item container?
OK, my brain made a wrong turn some time on Tuesday.
Let me review the basics.
From S02:
|$x| may be bound to any object,