[perl #79288] [BUG] Can't assign to 'is rw' optional parameters (or parameters with a default) if no argument was provided in Rakudo

2010-11-16 Thread Carl Mäsak via RT
On Tue Nov 16 14:45:34 2010, masak wrote: > blog post! > http://strangelyconsistent.org/blog/november-16-2010-the-polite-revolt > rakudo: sub foo($x? is rw) { $x = "OH HAI" }; foo() > rakudo 015d77: OUTPUT«Cannot modify readonly value [...] > discuss. > * masak submits rakudobug > * masak looks

[perl #79294] [BUG] $*PERL should be version of Perl, not version of Rakudo in Rakudo

2010-11-16 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #79294] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=79294 > rakudo: say $*PERL rakudo 015d77: OUTPUT«name rakudo␤version 2010.10-22-g015d77b␤

[perl6/specs] 44511d: [S06] rw parameters can never be optional

2010-11-16 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 44511d749bbbae4286dd1675ad6264c72acd2433 https://github.com/perl6/specs/commit/44511d749bbbae4286dd1675ad6264c72acd2433 Author: TimToady Date: 2010-11-16 (Tue, 16 Nov 2010) Changed paths: M S06-routines.pod Log Me

Re: base-4 literals

2010-11-16 Thread Carl Mäsak
Larry (>>), Dan (>): >> The lack of base 4 numbers in Real Life seems to me to justify the >> convention.  Do you have a use case? > > Real Life on Earth is base-4 coded :-p Heh. :) > hey, do we have tr/// equivalent already? In S05? Yes, since the get-go. In Rakudo? You do know that it's freel

[perl #79288] [BUG] Can't assign to 'is rw' optional parameters (or parameters with a default) if no argument was provided in Rakudo

2010-11-16 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #79288] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=79288 > blog post! http://strangelyconsistent.org/blog/november-16-2010-the-polite-revolt raku

Re: base-4 literals

2010-11-16 Thread Dan Kogai
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 17 2010, at 05:16 , Larry Wall wrote: > On Tue, Nov 16, 2010 at 12:11:01PM -0800, Darren Duncan wrote: > : Carl Mäsak wrote: > : >Darren (>): > : >>While I haven't seen any prior art on this, I'm thinking that it would be > : >>nice for a sense

Re: base-4 literals

2010-11-16 Thread Darren Duncan
Larry Wall wrote: On Tue, Nov 16, 2010 at 12:11:01PM -0800, Darren Duncan wrote: : Carl Mäsak wrote: : >Darren (>): : >>While I haven't seen any prior art on this, I'm thinking that it would be : >>nice for a sense of completeness or parity to have an 0a syntax specific to : >>base-4 that complem

Re: base-4 literals

2010-11-16 Thread Mark J. Reed
> : >Darren (>): > : >>While I haven't seen any prior art on this, I'm thinking that it would be > : >>nice for a sense of completeness or parity to have an 0a syntax specific > to > : >>base-4 that complements the 4 that we have now for bases 2,8,16,10. > : > > : >You're joking, right? > : > : No

Re: base-4 literals

2010-11-16 Thread Moritz Lenz
On 11/16/2010 08:46 PM, Darren Duncan wrote: > So, any thoughts on this? A wonderful application for a module. And don't we already have :4<1230> for base 4 literals? With a simple scheme that can be used up to base 36? Cheers, Moritz How thinks that Perl 6 should really become smaller over ti

Parrot 2.10.0 "Pesquet's" released!

2010-11-16 Thread Tyler Curtis
On behalf of the Parrot team, I'm proud to announce Parrot 2.10.0 "Pesquet's". Parrot is a virtual machine aimed at running all dynamic languages. Parrot 2.10.0 is available on Parrot's FTP site (ftp://ftp.parrot.org/pub/parrot/releases/devel/2.10.0/), or follow the download instructions at http:/

Re: base-4 literals

2010-11-16 Thread Larry Wall
On Tue, Nov 16, 2010 at 12:11:01PM -0800, Darren Duncan wrote: : Carl Mäsak wrote: : >Darren (>): : >>While I haven't seen any prior art on this, I'm thinking that it would be : >>nice for a sense of completeness or parity to have an 0a syntax specific to : >>base-4 that complements the 4 that we h

Re: base-4 literals

2010-11-16 Thread Darren Duncan
Carl Mäsak wrote: Darren (>): While I haven't seen any prior art on this, I'm thinking that it would be nice for a sense of completeness or parity to have an 0a syntax specific to base-4 that complements the 4 that we have now for bases 2,8,16,10. You're joking, right? No, its a serious idea

Re: base-4 literals

2010-11-16 Thread Carl Mäsak
Darren (>): > While I haven't seen any prior art on this, I'm thinking that it would be > nice for a sense of completeness or parity to have an 0a syntax specific to > base-4 that complements the 4 that we have now for bases 2,8,16,10. You're joking, right? // Carl

base-4 literals

2010-11-16 Thread Darren Duncan
A simple proposal ... While I haven't seen any prior art on this, I'm thinking that it would be nice for a sense of completeness or parity to have an 0a syntax specific to base-4 that complements the 4 that we have now for bases 2,8,16,10. With that addition, the line-up would look like this:

[perl6/specs] 977d92: [S02] clarify * vs *-1 semantics for globbish ops

2010-11-16 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 977d920241c26aec8913d5f37c218948b28bbb23 https://github.com/perl6/specs/commit/977d920241c26aec8913d5f37c218948b28bbb23 Author: TimToady Date: 2010-11-16 (Tue, 16 Nov 2010) Changed paths: M S02-bits.pod Log Messag

[perl6/specs] 8b43df: random errant "or"

2010-11-16 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 8b43df0b09582837dfb91bf69f3d65ce966cad35 https://github.com/perl6/specs/commit/8b43df0b09582837dfb91bf69f3d65ce966cad35 Author: Jonathan Scott Duff Date: 2010-11-16 (Tue, 16 Nov 2010) Changed paths: M S09-data.pod

[perl6/specs] c0b084: Spring before Summer usually :)

2010-11-16 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: c0b0845586be1d1fe07106cd2bb13acf56f13a20 https://github.com/perl6/specs/commit/c0b0845586be1d1fe07106cd2bb13acf56f13a20 Author: Jonathan Scott Duff Date: 2010-11-16 (Tue, 16 Nov 2010) Changed paths: M S09-data.pod

[perl #79270] [BUG] Infinite recursion when doing 0 .. *-1 (or 0 ..^ *-1) in Rakudo

2010-11-16 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #79270] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=79270 > rakudo: my @a = ; @a[0 ..^ *-1] >>~=>> "\n"; say @a.perl rakudo 015d77: OUTPUT«(timeou

[perl #79242] BUG: Loading Test.pm prevents augmented methods from being accessible as subs.

2010-11-16 Thread via RT
# New Ticket Created by Steve Schulze # Please include the string: [perl #79242] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=79242 > use Test; # remove this line, and it works use MONKEY_TYPING; augment class Any {

Re: Bag / Set ideas - making them substitutable for Arrays makes them more useful

2010-11-16 Thread Darren Duncan
Jon Lang wrote: Darren Duncan wrote: This said, I specifically think that a simple pair of curly braces is the best way to mark a Set. {1,2,3} # a Set of those 3 elements ... and this is also how it is done in maths I believe (and in Muldis D). In fact, I strongly support this assuming that