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

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

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]