Re: Signature for the series operator

2009-06-26 Thread Jon Lang
On Thu, Jun 25, 2009 at 1:20 PM, Moritz Lenzmor...@faui2k3.org wrote: Hi, I had the pleasure to implement the series operator (infix:...) in Rakudo(*), and came across the difficulty to come up with a signature for it. These are the use cases I want to cover: 1, 2 ... { $^a + $^b } 1 ... {

r27264 - docs/Perl6/Spec

2009-06-26 Thread pugs-commits
Author: lwall Date: 2009-06-26 16:37:04 +0200 (Fri, 26 Jun 2009) New Revision: 27264 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] only prefix:foo makes named unary, not sub foo ($) Modified: docs/Perl6/Spec/S06-routines.pod

[perl #66966] [BUG] Supposedly equivalent code doesn't work the same when formatted with different whitespace

2009-06-26 Thread via RT
# New Ticket Created by Matthew Walton # Please include the string: [perl #66966] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66966 As far as I'm aware, these should be, semantically, the same: role R { } class C

[perl #66978] [BUG] nextsame in method dispatch doesn't pass on self

2009-06-26 Thread via RT
# New Ticket Created by Johan Viklund # Please include the string: [perl #66978] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66978 -- code -- class A { method a(*...@a) { say A self={self.perl}

Re: Signature for the series operator

2009-06-26 Thread yary
S02 says- Anywhere you can use a single type you can use a set of types, for convenience specifiable as if it were an or junction: my Int|Str $error = $val; # can assign if $val~~Int or $val~~Str so would sub infix:...(Array|Scalar $values, Code $generator) be kosher? I'm with

[perl #66974] Action methods with too many parameters die with Null PMC Access

2009-06-26 Thread via RT
# New Ticket Created by Bjoern Hoehrmann # Please include the string: [perl #66974] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66974 Hi, class Example::Actions { multi method TOP($match, $tag) { say

Re: [perl #66640] [BUG] minmax operator not working yet

2009-06-26 Thread Richard Hainsworth
I dont quite understand, see below: Patrick R. Michaud via RT wrote: On Tue Jun 16 10:14:11 2009, richardh wrote: my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl While rakudo doesn't implement infix:minmax yet, the operator is constrained to having two elements on either side,

r27265 - in docs/Perl6/Spec: . S32-setting-library

2009-06-26 Thread pugs-commits
Author: lwall Date: 2009-06-26 17:38:29 +0200 (Fri, 26 Jun 2009) New Revision: 27265 Modified: docs/Perl6/Spec/S01-overview.pod docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S04-control.pod docs/Perl6/Spec/S05-regex.pod

Re: r27265 - in docs/Perl6/Spec: . S32-setting-library

2009-06-26 Thread Nicholas Clark
On Fri, Jun 26, 2009 at 05:38:30PM +0200, pugs-comm...@feather.perl6.nl wrote: [Spec] treat all authors equally [Spec] make whitespace unugly [Spec] rename Date to Created [Spec] separate header things you edit from Created and one stowaway: +=head2 Abstract vs Concrete types [Conjectural]