r30742 -[Spec] :() is now always signature. Use foofix:[...] as the general op form

2010-05-21 Thread pugs-commits
Author: lwall Date: 2010-05-21 09:15:36 +0200 (Fri, 21 May 2010) New Revision: 30742 Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S06-routines.pod docs/Perl6/Spec/S12-objects.pod Log: [Spec] :() is now always signature. Use foofix:[...] as t

Re: [Rakudo] Enums in setting

2010-05-21 Thread Moritz Lenz
Patrick R. Michaud wrote: > On Wed, May 19, 2010 at 10:55:31PM +0200, Moritz Lenz wrote: >> There could be multiple ways forward: >> 1) rewrite EnumMap in PIR - it's mostly a wrapper around PIR code anyway >> 2) Add another bootstrapping stage: an "early" setting for traits, many >> basic types and

[perl #75214] sub Str {} definition is ignored while smartmatching

2010-05-21 Thread Carl Mäsak via RT
On Thu May 20 05:41:19 2010, pawel.pab...@implix.com wrote: > [14:36] rakudo: sub Str {}; say "test" ~~ Str; # how this > should behave > according to spec? compile error? compare to Str type or enter Str sub > and > compare to it's output? > [14:36] rakudo 8292d4: OUTPUT«1␤» > [14:36] <-- justat

[perl #75234] [BUG] sub &prefix:<[~]> is being unexpectedly hidden by class definition.

2010-05-21 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #75234] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75234 > On its own, class B executes as expectedly: class B {method n { return [~] gather

[perl #75230] [BUG] [WEIRD] 'say 1 if 0 if 1 { say 3 }' parsing bug in Rakudo (and STD)

2010-05-21 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75230] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75230 > rakudo: say 1 if 2 if 3 { say 3 } rakudo e6863e: OUTPUT«1␤3␤» o_O o!O rakudo: say 1

Parallelism and Concurrency II

2010-05-21 Thread Daniel Ruoso
Hi, After lots of debates off-list (specially with BrowserUk), I got to the following conclusions: - Each OS thread runs a cooperative-event-scheduler where coroutines might be enqueued. - map returns the buffer immediatly and enqueues a coroutine to process the data. - Explicit parall

Re: r30742 -[Spec] :() is now always signature. Use foofix:[...] as the general op form

2010-05-21 Thread Mark J. Reed
> > Modified: docs/Perl6/Spec/S03-operators.pod === --- docs/Perl6/Spec/S03-operators.pod 2010-05-21 06:55:13 UTC (rev 30741) +++ docs/Perl6/Spec/S03-operators.pod 2010-05-21 07:15:36 UTC (rev 30742) @@ -2540,7 +2540,7 @@ =ite

Named regexes and this week's contribution to Perl 6

2010-05-21 Thread David Green
I thought I'd have a go at command-line parsing (http://perlgeek.de/blog-en/perl-6/contribute-now-main-sub.html), and I've got the basics, even though I keep trying to put P5isms in my regexes! (I even found a bug, but it's already reported, RT 73608.) I wanted to check that named regexes aren

Re: Named regexes and this week's contribution to Perl 6

2010-05-21 Thread Moritz Lenz
Hi, David Green wrote: > I thought I'd have a go at command-line parsing > (http://perlgeek.de/blog-en/perl-6/contribute-now-main-sub.html), > and I've got the basics, even though I keep trying to put P5isms in my > regexes! > (I even found a bug, but it's already reported, RT 73608.) Thanks

[perl #75244] [BUG] Rakudo doesn't recognize \e as a valid escape sequence (but STD does)

2010-05-21 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75244] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75244 > rakudo: "\e" rakudo c950de: OUTPUT«Unrecognized backslash sequence: '\e' [...] std: "

[perl #75246] [PATCH] make hyper operators work on nested arrays

2010-05-21 Thread via RT
# New Ticket Created by Prakash Kailasa # Please include the string: [perl #75246] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75246 > Please review the patch attached which lets hyper operators be used on nested arrays

Re: Named regexes and this week's contribution to Perl 6

2010-05-21 Thread David Green
On 2010-05-21, at 12:26 pm, Aaron Sherman wrote: > That's going to be a common first hurdle, I can see. > I ran into the same thing writing a IRI parser. Here's a way you can do this: > [using a Grammar] Thanks -- I thought of trying that to see what happens. (Not that I absolutely need it, but

Re: Named regexes and this week's contribution to Perl 6

2010-05-21 Thread Aaron Sherman
On Fri, May 21, 2010 at 1:59 PM, David Green wrote: > > I wanted to check that named regexes aren't in Rakudo yet -- I get "Useless > declaration of has-scoped regex in a module". > > > That's going to be a common first hurdle, I can see. I ran into the same thing writing a IRI parser. Here's a