Uri,
On Sun, 04 Jan 2009 22:37:43 -0500, Uri Guttman wrote:
> that fails with nested arrays. we don't want them to flatten.
>
> my $c = eval '(1, (4, 5), 3)';
>
> will that work as you envision?
No, but it's not what I'm proposing. A reference must Perlify as a
reference, just as it does toda
Patrick R. Michaud wrote:
On Sun, Jan 04, 2009 at 05:20:56PM +0300, Richard Hainsworth wrote:
I posted an email to per6-all asking about how one should go about
reporting bugs. That message has appeared on the list.
So again: how can bugs be reported?
See the "Reporting bugs" section of REA
>> "m" == moritz writes:
>
> m> S02 says:
>
> m> "To get a Perlish representation of any object, use the .perl method.
> Like
> m> the Data::Dumper module in Perl 5, the .perl method will put quotes
> around
> m> strings, square brackets around list values,"
>
> m> So according to t
Patrick R. Michaud wrote:
> On Fri, Jan 02, 2009 at 01:52:45PM -0800, Todd Hepler wrote:
>> I think this is a bug, but I'm not sure.
>>
>> (undef === undef) currently evaluates to false. Seem like it should be
>> true.
>>
>> I couldn't find a test for it, so below is a patch to add one.
>
> Be
I spent a fair amount of time with Rakudo over the holiday break (see
http://dave.whipp.name/sw/perl6 for the writeup). I was generally
impressed with both the language and its implementation. There were,
unsurprisingly, a bunch of things missing. Some of these were things
that are in the spec
Author: moritz
Date: 2009-01-05 17:54:50 +0100 (Mon, 05 Jan 2009)
New Revision: 24769
Modified:
docs/Perl6/Spec/S29-functions.pod
Log:
[S29] document isa, can, does, perl and clone
Modified: docs/Perl6/Spec/S29-functions.pod
===
Author: particle
Date: 2009-01-05 17:53:12 +0100 (Mon, 05 Jan 2009)
New Revision: 24768
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] provide rules for negated single-character options; rearrange list items
for clarity
Modified: docs/Perl6/Spec/S19-commandline.pod
=
On 2009 Jan 5, at 11:54, pugs-comm...@feather.perl6.nl wrote:
+ our Str multi method perl (Object $o)
+
+Returns a perlish representation of the object, so that calling
C
+on the returned string reproduces the object as good as possible.
My inner English teacher cringes in pain. It should b
Em Seg, 2009-01-05 às 07:57 -0800, Dave Whipp escreveu:
>my $ace = 1 | 11;
>my $seven = 7;
>my @hand = $ace xx 3, $seven;
>my $junc_value = [+] @hand; ## any( 10, 20, 30, 40 )
> There are a bunch of possible values in the junction. The one we care
> about is the largest that is no
Author: particle
Date: 2009-01-05 20:29:06 +0100 (Mon, 05 Jan 2009)
New Revision: 24774
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] note behavior of clustered options with required values
Modified: docs/Perl6/Spec/S19-commandline.pod
===
Kyle Hasselbacher (via RT) wrote:
> # New Ticket Created by "Kyle Hasselbacher"
> # Please include the string: [perl #61920]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=61920 >
>
>
> I didn't see division in with the
Carl MXXsak (via RT) wrote:
> # New Ticket Created by "Carl Mäsak"
> # Please include the string: [perl #61836]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=61836 >
>
>
> Rakudo r34628:
>
> $ perl6 -e 'undef min 2'
>
Carl MXXsak (via RT) wrote:
> # New Ticket Created by "Carl Mäsak"
> # Please include the string: [perl #61838]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=61838 >
>
>
> Rakudo r34628:
>
> $ perl6 -e 'my $a = $b'
>
Parrot Bug Summary
http://rt.perl.org/rt3/NoAuth/parrot/Overview.html
Generated at Mon Jan 5 14:00:01 2009 GMT
---
* Numbers
* New Issues
* Overview of Open Issues
* Ticket Status By Version
* Requestors with mo
Carl MXXsak (via RT) wrote:
> # New Ticket Created by "Carl Mäsak"
> # Please include the string: [perl #61840]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=61840 >
>
>
> Rakudo r34628 doesn't support the assignment m
Author: particle
Date: 2009-01-05 21:29:32 +0100 (Mon, 05 Jan 2009)
New Revision: 24779
Modified:
docs/Perl6/Spec/S06-routines.pod
Log:
[S06] add another command-line short name example; modify comment to line up
visually with others
Modified: docs/Perl6/Spec/S06-routines.pod
On Mon, Jan 05, 2009 at 05:54:50PM +0100, pugs-comm...@feather.perl6.nl wrote:
> Author: moritz
> Date: 2009-01-05 17:54:50 +0100 (Mon, 05 Jan 2009)
> New Revision: 24769
> +=item can
> +
> + our Bool multi method can ($self:, Str $method)
> +
> +If there is a multi method of name C<$method> that
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #61980]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61980 >
Rakudo r34428:
$ echo 'say <1 2> »+« <1 1>' > test.t
$ ./perl6 test.t
23
$ ./perl6 -e 's
Richard Hainsworth wrote:
> s/has appeared/has NOT appeared/
>
> Richard Hainsworth wrote:
>> I posted an email to per6-all asking about how one should go about
>> reporting bugs. That message has appeared on the list.
>>
That's because perl6-all is a meta list, which subscribes you to p6l,
p6c
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #61978]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61978 >
Rakudo r34428:
./perl6 -e '1.does(Int)'
Method 'does' not found for invocant of class 'I
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #61982]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61982 >
Rakudo r34428
sub example ($x is rw) {
$x = 3;
my @a;
@a.push($x);
$x =
Daniel Ruoso wrote:
> Hi,
>
> As smop and mildew now support ControlExceptionReturn (see
> v6/mildew/t/return_function.t), an important question raised:
>
> sub plural { return 1,2 }
> sub singular { return 1 }
> my @a = plural();
> my $b = plural();
> my @c = singular();
> my $d = singular
That doesn't solve the general problem:
my $junc = any -4 .. Inf;
my @domain = -Inf .. 4;
my @values = @domain |==| $junc;
say @values.perl
>>> [ -4 .. 4 ]
How do you code that using "grep"?
From: Daniel Ruoso
To: Dave Whipp
Cc: perl6-langu...@perl
# New Ticket Created by publiustemp-perl6interna...@yahoo.com
# Please include the string: [perl #61990]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61990 >
For r35004:
subset Even of Int where { not $_ % 2 };
my Ev
publiustemp-perl6interna...@yahoo.com (via RT) wrote:
For r35004:
subset Even of Int where { not $_ % 2 };
my Even $num = 2;
say $num;
say $num.WHAT;
Output:
2
Int
I'm expecting:
2
Even
I think the current behaviour is correct (or at least, implemented to
match my und
Daniel Ruoso wrote:
my $concrete_value = max $junc_value.grep: { $^score < 21 };
In the general case, both the junction and the domain may be infinite:
my @domain = -Inf .. 3;
my $junc = any -4 .. Inf;
my @values = @domain |==| $junc;
say @values.perl
"[-4..3]"
Handling all the variation
# New Ticket Created by "Dave Whipp"
# Please include the string: [perl #61988]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61988 >
rakudo: class A { method foo { say @_ }; method bar {
$.foo(42) } }; A.bar
raku
Daniel Ruoso wrote:
>
> Hi,
>
> As smop and mildew now support ControlExceptionReturn (see
> v6/mildew/t/return_function.t), an important question raised:
>
> sub plural { return 1,2 }
> sub singular { return 1 }
> my @a = plural();
> my $b = plural();
> my @c = singular();
> my $d = singular
28 matches
Mail list logo