Re: [perl #63970] split() returns the delimiter, not the substrings

2009-03-18 Thread Gabor Szabo
On Thu, Mar 19, 2009 at 1:18 AM, Moritz Lenz wrote: > Gabor Szabo (via RT) wrote: >> # New Ticket Created by  Gabor Szabo >> # Please include the string:  [perl #63970] >> # in the subject line of all future correspondence about this issue. >> # http://rt.perl.org/rt3/Ticket/Display.html?id=63970

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

2009-03-18 Thread Larry Wall
On Wed, Mar 18, 2009 at 06:32:18PM -0700, Jon Lang wrote: : > +    method !eigenstates (Junction $j: --> List) : : Shouldn't that be lowercase-j junction? Maybe, though there might be a Junction role involved for subtype matches like that one. Larry

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

2009-03-18 Thread Jon Lang
> +    method !eigenstates (Junction $j: --> List) Shouldn't that be lowercase-j junction? -- Jonathan "Dataweaver" Lang

r25902 - docs/Perl6/Spec

2009-03-18 Thread pugs-commits
Author: lwall Date: 2009-03-19 01:43:53 +0100 (Thu, 19 Mar 2009) New Revision: 25902 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] define .caps and .chunks methods on match objects Modified: docs/Perl6/Spec/S05-regex.pod ===

Re: [perl #63970] split() returns the delimiter, not the substrings

2009-03-18 Thread Moritz Lenz
Gabor Szabo (via RT) wrote: > # New Ticket Created by Gabor Szabo > # Please include the string: [perl #63970] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=63970 > > > > perl6 -e'say "a;b".split(";").perl' > ["a", "b"

[perl #63970] split() returns the delimiter, not the substrings

2009-03-18 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #63970] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63970 > perl6 -e'say "a;b".split(";").perl' ["a", "b"] but perl6 -e'say split("a;b", ";")' ;

Re: r25821 - docs/Perl6/Spec

2009-03-18 Thread Jonathan Worthington
Mark J. Reed wrote: Shouldn't that desugar to (Int $ where 0)? After all, 0.WHAT is Int... Yes, I proposed that in my second reply too, after realizing .WHAT gave us that too. :-) Of course, then someone will expect multi sub fib (0|1) { return @_[0] } to DTRT here... That's fine, bec

Re: [perl #63922] Fresh rakudo fails to build on FreeBSD

2009-03-18 Thread Mark J. Reed
Nm, installed libparrot was interfering. On Wed, Mar 18, 2009 at 5:00 PM, Mark J. Reed wrote: > I'm getting further but still failing to get Rakudo working (OS X > 10.5.6, gcc 4.0.1), same parrot revision (r37414): > > ... > c++ -o perl6_ops_switch.bundle perl6_ops_switch.o  -L/opt/local/lib > -L

Re: r25821 - docs/Perl6/Spec

2009-03-18 Thread Mark J. Reed
2009/3/18 Moritz Lenz : >> +You can leave out the block when matching against a literal value of some >> +kind: >> + >> +    multi sub fib ($n where 0|1) { return $n } >> +    multi sub fib (Int $n) { return fib($n-1) + fib($n-2) } >> + >> +In fact, you can leave out the 'where' declaration altoget

Dallas.p6m

2009-03-18 Thread fREW Schmidt
Hello friends! s1n and I decided that we would start Dallas.p6m as we are close to each other geographically speaking. We are meeting tomorrow (Thursday, March 19, 7:00PM) at a coffee shop with free wifi. The address is 985 W Bethany Dr Allen, TX 75013. So far it looks like it will be s1n, me, a

Re: r25821 - docs/Perl6/Spec

2009-03-18 Thread Jonathan Worthington
Jonathan Worthington wrote: Moritz Lenz wrote: pugs-comm...@feather.perl6.nl wrote: +You can leave out the block when matching against a literal value of some +kind: + +multi sub fib ($n where 0|1) { return $n } +multi sub fib (Int $n) { return fib($n-1) + fib($n-2) } + +In fact, yo

Re: r25821 - docs/Perl6/Spec

2009-03-18 Thread Jonathan Worthington
Moritz Lenz wrote: pugs-comm...@feather.perl6.nl wrote: +You can leave out the block when matching against a literal value of some +kind: + +multi sub fib ($n where 0|1) { return $n } +multi sub fib (Int $n) { return fib($n-1) + fib($n-2) } + +In fact, you can leave out the 'where' d

Re: r25821 - docs/Perl6/Spec

2009-03-18 Thread Moritz Lenz
pugs-comm...@feather.perl6.nl wrote: > Author: masak > Date: 2009-03-14 13:34:42 +0100 (Sat, 14 Mar 2009) > New Revision: 25821 > > Modified: >docs/Perl6/Spec/S12-objects.pod > Log: > specced syntactic 'where' sugar in param lists > > Modified: docs/Perl6/Spec/S12-objects.pod > ==

Re: [perl #63922] Fresh rakudo fails to build on FreeBSD

2009-03-18 Thread Mark J. Reed
I'm getting further but still failing to get Rakudo working (OS X 10.5.6, gcc 4.0.1), same parrot revision (r37414): ... c++ -o perl6_ops_switch.bundle perl6_ops_switch.o -L/opt/local/lib -L/usr/local/lib -L/Users/mreed/proj/perl6/rakudo/parrot/blib/lib -L/sw/lib -L/Users/mreed/proj/perl6/rakudo

r25895 - docs/Perl6/Spec

2009-03-18 Thread pugs-commits
Author: coke Date: 2009-03-18 21:10:41 +0100 (Wed, 18 Mar 2009) New Revision: 25895 Modified: docs/Perl6/Spec/S02-bits.pod Log: Correct minor typo in metadata. (... unless that's Welsh, in which case my bad.) Modified: docs/Perl6/Spec/S02-bits.pod

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

2009-03-18 Thread pugs-commits
Author: lwall Date: 2009-03-18 20:46:15 +0100 (Wed, 18 Mar 2009) New Revision: 25891 Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S06-routines.pod docs/Perl6/Spec/S09-data.pod docs/Perl6/Spec/S32-setting-library/Containers.pod Log: junctions are now considered a native type w

r25890 - docs/Perl6/Spec

2009-03-18 Thread pugs-commits
Author: lwall Date: 2009-03-18 20:04:16 +0100 (Wed, 18 Mar 2009) New Revision: 25890 Modified: docs/Perl6/Spec/S03-operators.pod Log: kill off int as a prefix operator to avoid confusion with the type name Modified: docs/Perl6/Spec/S03-operators.pod ===

r25889 - docs/Perl6/Spec

2009-03-18 Thread pugs-commits
Author: lwall Date: 2009-03-18 19:24:25 +0100 (Wed, 18 Mar 2009) New Revision: 25889 Modified: docs/Perl6/Spec/S05-regex.pod Log: Destroy the term "result object" in favor of "abstract object" and AST-Think. Modified: docs/Perl6/Spec/S05-regex.pod =

Re: Rakduo Logo Proposal

2009-03-18 Thread Matthew Walton
On Wed, 2009-03-18 at 16:43 +0100, Carl Mäsak wrote: > Stephen (>): > > Use of the gimel[1] character comes from Justin Simoni's logo design > > proposal[2] from a while back, and the design is a reference to the > > anarchist symbol[3]. > > It also looks like a reference to another programming la

Re: a junction or not

2009-03-18 Thread TSa (Thomas Sandlaß)
HaloO, On Tuesday, 17. March 2009 10:25:27 David Green wrote: > > That is, it would return a Junction of Str, not a Str. So the > > question is how to get something that returns an expression to the > > effect of: > > 'any(' ~ $choice.eigenstates.«perl.join(',') ~ ')' > > say $choice.perl > >

Re: Rakduo Logo Proposal

2009-03-18 Thread Carl Mäsak
Stephen (>): > Use of the gimel[1] character comes from Justin Simoni's logo design > proposal[2] from a while back, and the design is a reference to the > anarchist symbol[3]. It also looks like a reference to another programming language.

Re: How to "make smoke" when parrot won't make? (was Re: [perl #63922] Fresh rakudo fails to build on FreeBSD)

2009-03-18 Thread yary
> So, what's the way to tell smolder "make" failed? After looking into it a bit more, there is a buildbot for parrot, so I'm seeing about adding my system to that. In the bigger picture, I was thinking that the "right way" to start a smoke test would be- 0.remove all dependencies on the smoke/sm

Re: Rakduo Logo Proposal

2009-03-18 Thread Dan Stephenson
On Wed, 18 Mar 2009 06:37:18 -0400, Smylers wrote: Stephen Weeks writes: That could cause some awkwardness in getting Perl 6 accepted by those with different political persuasions. Perl 6 has no political views (well, outside the narrow field of programming language design, which isn't consid

Re: Fresh rakudo fails to build on FreeBSD

2009-03-18 Thread zahatski
Hi Alex ! I have a positive experience with the installation rakudo ("Vienna") and parrot (37414 ) under 7.1-PRERELEASE (i386) and 7.0-PRERELEASE (amd64). I'm create port rakudo-devel for freebsd ( http://downloads.sourceforge.net/rakudoport/rakudo-devel.tgz ). Default this port use tarball : raku

Re: Rakduo Logo Proposal

2009-03-18 Thread Guy Hulbert
On Wed, 2009-18-03 at 10:37 +, Smylers wrote: > Stephen Weeks writes: > > > http://pleasedieinafire.net/~tene/logo/gimelanarchy.html > > > > The main association for me, with the reference to the anarchist > > symbol, is that we've kept going and produced something good despite > > the large

Re: Rakduo Logo Proposal

2009-03-18 Thread Smylers
Stephen Weeks writes: > http://pleasedieinafire.net/~tene/logo/gimelanarchy.html > > The main association for me, with the reference to the anarchist > symbol, is that we've kept going and produced something good despite > the large sentiment of "You're taking too long, you'll never succeed, > et

[perl #63958] [BUG] Role composition error in module A::B used from A::A

2009-03-18 Thread via RT
# New Ticket Created by Matthew Walton # Please include the string: [perl #63958] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63958 > This seems to require several files to reproduce. t.pl: use v6; use A::A; say "alive

Re: a junction or not

2009-03-18 Thread Bruce Keeler
On 3/15/09 11:19 AM, Richard Hainsworth wrote: The following (the n:> is to mark the lines) are legal: 1:> my @x = 1,2,3,4; ([+] @x).say; # output 10 2:> my @x = 1|11,2,3,4; ([+] @a).perl.say; # output any(10,20) 3:> my @x = 1|11,2,3,4; ([+] @a).eigenstates.min.say; # output 10 However, the nex

Rakduo Logo Proposal

2009-03-18 Thread Stephen Weeks
I was inspired earlier today and had my girlfriend sketch up a logo proposal for me. http://pleasedieinafire.net/~tene/logo/gimelanarchy.html Use of the gimel[1] character comes from Justin Simoni's logo design proposal[2] from a while back, and the design is a reference to the anarchist symbol[3