Perl6 Modules - Documentation

2010-07-30 Thread Richard Hainsworth
The number of modules available to proto has grown considerably. I am not aware that there is a convenient way of obtaining a short description about each module, other than just the name? In order to make the perl6 internet-wide environment useful, there needs to be some form of directory in

Re: Perl6 Modules - Documentation

2010-07-30 Thread Steffen Schwigon
Richard Hainsworth writes: > The number of modules available to proto has grown considerably. > > I am not aware that there is a convenient way of obtaining a short > description about each module, other than just the name? Just an opinion: imho every effort should go towards integrating CPAN in

build prerequisite instructions for RedHat/Fedora/CentOS in Rakudo Star README

2010-07-30 Thread Leandro Hermida
Hi there, Just downloaded Rakudo Star and I wanted to give you the equivalent instructions to add to the README for RedHat/Fedora/CentOS users under Build Prerequisites. On RedHat/Fedora/CentOS Linux, necessary components for building Rakudo: yum groupinstall development-tools yum install libicu

Re: Perl6 Modules - Documentation

2010-07-30 Thread Jan Ingvoldstad
On Fri, Jul 30, 2010 at 11:27, Steffen Schwigon wrote: > Just an opinion: imho every effort should go towards integrating CPAN > in any way. > > Perl without CPAN feels like Kung-Fu on stack-heel shoe. > > Maybe any of those META2.0, cpanminus, CPAN::Packager, > CPAN::Dpendency, MyCPAN::*, POD6 t

Re: Perl6 Modules - Documentation

2010-07-30 Thread Richard Hainsworth
On 07/30/2010 01:27 PM, Steffen Schwigon wrote: Richard Hainsworth writes: The number of modules available to proto has grown considerably. I am not aware that there is a convenient way of obtaining a short description about each module, other than just the name? Just an opinion: im

[perl #76826] calling .hash on a list of pairs segfaults in rakudo

2010-07-30 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76826] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76826 > 14:02 < moritz_> does 'say (a => 1, b => 2).hash.perl' segfault for anybody else? 14:03

Re: questions about array references and captures

2010-07-30 Thread Leon Timmermans
On Thu, Jul 29, 2010 at 8:30 PM, R. Dresens wrote: > And what about this?... > >    my $x = [3, 4]; my @y = 1, 2, |$x, 5, 6; say @y.perl; > > ...I actually expected `[1, 2, 3, 4, 5, 6]`, since I was under the > impression that the '|' was some kind of "flatten" or > "interpolation" operator. > >

[perl #76828] Rakudo Star 'make' fails on Darwin/PPC

2010-07-30 Thread Will Coleda via RT
On Fri Jul 30 05:28:27 2010, jk...@verizon.net wrote: > On July 29 I successfully built Perl 6 from the Rakudo Star > distribution on two Linux/i386 boxes. However, I experienced > failures during 'make' on Darwin/PPC, notwithstanding the fact that I > have been able to build Perl 6 on top o

Re: Suggested magic for "a" .. "b"

2010-07-30 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7/29/10 08:15 , Leon Timmermans wrote: > On Thu, Jul 29, 2010 at 3:24 AM, Darren Duncan > wrote: >> $foo ~~ $a..$b :QuuxNationality # just affects this one test > > I like that > >> $bar = 'hello' :QuuxNationality # applies anywhere the Str

Re: Perl6 Modules - Documentation

2010-07-30 Thread Guy Hulbert
On Fri, 2010-30-07 at 16:08 +0400, Richard Hainsworth wrote: > All I am suggesting is that the directories containing modules also > contain a METADATA file with some standard items, and that this > metadata > is required for a module that is registered. Even if there is a CPAN > system, the met

Rakudo Module-Starter?

2010-07-30 Thread Alberto Simões
Hello I am out of Perl 6/Parrot for some time, but trying to get back and help with Perl 6 (at least, modules). As there are already some modules available, I am wondering if anyone already prepared a module-starter-like module to bootstrap a Perl 6 module. Cheers -- Alberto Simões

[perl #76832] Fwd: build prerequisite instructions for RedHat/Fedora/CentOS in Rakudo Star README

2010-07-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #76832] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76832 > Opening a ticket so this info doesn't get lost. -- Forwarded message --

[perl #76834] Fwd: Rakudo Star silent exit on subset violation?

2010-07-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #76834] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76834 > Opening a ticket on behalf of ovid... -- Forwarded message -- From: Ovi

implementing every(N)

2010-07-30 Thread Ted Zlatanov
I have a Perl 5 module called Every which provides, simply, every(5); # true on invocation 5, 10, etc. every(seconds => 5); # true at 5, 10, etc. seconds It's really nice in endless loops, logging, etc. I'd like to translate it to Perl 6 (using Rakudo specifically). Its current implementation r

Re: Suggested magic for "a" .. "b"

2010-07-30 Thread Leon Timmermans
On Thu, Jul 29, 2010 at 9:51 PM, Aaron Sherman wrote: > My only strongly held belief, here, is that you should not try to answer any > of these questions for the default range operator on > unadorned, context-less strings. For that case, you must do something that > makes sense for all Unicode cod

Re: Rakudo Star silent exit on subset violation?

2010-07-30 Thread Will Coleda
I just opened this so we don't lose it: http://rt.perl.org/rt3/Ticket/Display.html?id=76834 Thanks. On Thu, Jul 29, 2010 at 9:44 AM, Ovid wrote: > I don't know if this is reported (I can't find a bug report for it). > > I just downloaded and compiled Rakudo Star. > > $ uname -a > Linux localhos

Re: build prerequisite instructions for RedHat/Fedora/CentOS in Rakudo Star README

2010-07-30 Thread Will Coleda
Thanks. opened a ticket for this http://rt.perl.org/rt3/Ticket/Display.html?id=76832 > so it doesn't get lost. Thanks! On Fri, Jul 30, 2010 at 7:06 AM, Leandro Hermida wrote: > Hi there, > > Just downloaded Rakudo Star and I wanted to give you the equivalent > instructions to add to the README f

r31869 -[S26] corrected minor typos and inconsistencies

2010-07-30 Thread pugs-commits
Author: masak Date: 2010-07-30 18:15:01 +0200 (Fri, 30 Jul 2010) New Revision: 31869 Modified: docs/Perl6/Spec/S26-documentation.pod Log: [S26] corrected minor typos and inconsistencies Nothing that changes the meaning of the spec, really. Modified: docs/Perl6/Spec/S26-documentation.pod =

Re: questions about array references and captures

2010-07-30 Thread R. Dresens
On Thu, 29 Jul 2010 20:55:39 -0700 Darren Duncan wrote: > R. Dresens wrote: > > I have some issues with the behavior related to array references > > and their actual replacements known as "captures" (as far as I'm > > correct). > Captures are not replacements for Arrays in general; they serve

Re: questions about array references and captures

2010-07-30 Thread R. Dresens
On Fri, 30 Jul 2010 14:31:31 +0200 Leon Timmermans wrote: > On Thu, Jul 29, 2010 at 8:30 PM, R. Dresens wrote: > > > And what about this?... > >    my $x = [3, 4]; my @y = 1, 2, |$x, 5, 6; say @y.perl; > I think that you meant to do is this: > > my $x = [3, 4]; my @y = 1, 2, @($x), 5, 6;

Re: Perl6 Modules - Documentation

2010-07-30 Thread Patrick R. Michaud
On Fri, Jul 30, 2010 at 04:08:49PM +0400, Richard Hainsworth wrote: > On 07/30/2010 01:27 PM, Steffen Schwigon wrote: > >Richard Hainsworth writes: > >>I am not aware that there is a convenient way of obtaining a short > >>description about each module, other than just the name? > > > >Perl withou

[perl #76842] my @foo = 1..* > @foo.max doesn't finish

2010-07-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #76842] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76842 > twitterbugged @ http://twitter.com/mfollett/status/19919694472 : - Interesting Rakudo ed

Re: questions about array references and captures

2010-07-30 Thread Leon Timmermans
On Fri, Jul 30, 2010 at 6:21 PM, R. Dresens wrote: > Yes, but aren't captures somehow replacements for references in > general... and therefore also array references? The reason why I > assume that is that I (wrongly?) expected a "real" 'Array()' when I > used the `\` prefix in an expression such

Re: [perl #76842] my @foo = 1..* > @foo.max doesn't finish

2010-07-30 Thread Mark J. Reed
What is assigning a Range to an array supposed to do? Give you an array of one item which is a Range? Convert to a series? On Friday, July 30, 2010, Will Coleda wrote: > # New Ticket Created by  Will Coleda > # Please include the string:  [perl #76842] > # in the subject line of all future corr

[perl #64886] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-statements/for.t commit 51b09b45c0597613232fd53586817afd83626cfc Author: bbkr Date: Fri Jul 30 17:15:14 2010 + [t/spec] tests for RT #64886 For (1..100) bug git-svn-id: ht

[perl #71088] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S05-transliteration/trans.t commit c960d472288a7e5a97408a102db3ac9e4e823439 Author: bbkr Date: Fri Jul 30 17:28:00 2010 + [t/spec] tests for RT #71088 .trans after .subst blows up in Rakudo

[perl #64886] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-statements/for.t commit 651ee826e32816a994dd7c7ba3ff8da1f712ed36 Author: bbkr Date: Fri Jul 30 17:14:28 2010 + [t/spec] tests for RT #64886 For (1..100) bug git-svn-id: ht

Re: implementing every(N)

2010-07-30 Thread Patrick R. Michaud
On Fri, Jul 30, 2010 at 09:17:30AM -0500, Ted Zlatanov wrote: > I have a Perl 5 module called Every which provides, simply, > > every(5); # true on invocation 5, 10, etc. > every(seconds => 5); # true at 5, 10, etc. seconds > > It's really nice in endless loops, logging, etc. I'd like to transla

Re: implementing every(N)

2010-07-30 Thread Ted Zlatanov
On Fri, 30 Jul 2010 12:19:16 -0500 "Patrick R. Michaud" wrote: PRM> On Fri, Jul 30, 2010 at 09:17:30AM -0500, Ted Zlatanov wrote: >> I have a Perl 5 module called Every which provides, simply, >> >> every(5); # true on invocation 5, 10, etc. >> every(seconds => 5); # true at 5, 10, etc. second

[perl #69200] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/defaults.t commit cef0417fff18aebc1c6e25c16549e78fe0773aa4 Author: bbkr Date: Fri Jul 30 17:37:14 2010 + [t/spec] tests for RT #69200 Param typed with Bool doesnt accept :foo-typ

Re: Perl6 Modules - Documentation

2010-07-30 Thread Darren Duncan
Jan Ingvoldstad wrote: On Fri, Jul 30, 2010 at 11:27, Steffen Schwigon wrote: Just an opinion: imho every effort should go towards integrating CPAN in any way. Maybe any of those META2.0, cpanminus, CPAN::Packager, CPAN::Dpendency, MyCPAN::*, POD6 thingies could be assembled into something to

[perl #74640] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in at least one of these files: misc/evalbot/lib/EvalbotExecuter.pm, t/spec/S02-literals/numeric.t commit 624bf715b6698f6e3c6b722f02ae933502241eca Author: moritz Date: Fri Jul 30 18:07:55 2010 + [t/spe

Re: [perl #76842] my @foo = 1..* > @foo.max doesn't finish

2010-07-30 Thread Mark J. Reed
What is assigning a Range to an array supposed to do? Give you an array of one item which is a Range? Convert to a series? On Friday, July 30, 2010, Will Coleda wrote: > # New Ticket Created by  Will Coleda > # Please include the string:  [perl #76842] > # in the subject line of all future corr

Re: Perl6 Modules - Documentation

2010-07-30 Thread Guy Hulbert
On Fri, 2010-30-07 at 11:07 -0700, Darren Duncan wrote: > I *really* want to use a multi-language-savvy spec like this to > distribute with. CPAN will also have to be able to handle modules written in arbitrary natural languages (chinese, arabic etc) will it not ? -- --gh

[perl #71258] tests available

2010-07-30 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-list/sort.t commit 307c1ab2718b1bb94c287d2b3ce1c365753f362a Author: bbkr Date: Fri Jul 30 16:57:13 2010 + [t/spec] tests for RT #71258 Cant sort objects of a custom class, cant supply .cm

Re: [perl #76842] my @foo = 1..* > @foo.max doesn't finish

2010-07-30 Thread Patrick R. Michaud
On Fri, Jul 30, 2010 at 01:22:02PM -0400, Mark J. Reed wrote: > What is assigning a Range to an array supposed to do? Give you an > array of one item which is a Range? Convert to a series? A range in list context becomes a list of successive values in the Range. my @foo = 1..*; causes @f

r31878 -[S02, S32] kill off .notdef

2010-07-30 Thread pugs-commits
Author: masak Date: 2010-07-30 21:46:36 +0200 (Fri, 30 Jul 2010) New Revision: 31878 Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S32-setting-library/Basics.pod Log: [S02, S32] kill off .notdef Not cute with methods that do negatively defined things. And !*.defined covers the sema

Re: [perl #76842] my @foo = 1..* > @foo.max doesn't finish

2010-07-30 Thread Mark J. Reed
Right. So, my $foo = 1..*; $foo.max; Should return Inf; likewise my @foo = 1...*; @foo.max; Should behave like (1...*).max ...that is, I expect both not to terminate. It's the conversion to array that is the break in the original example, not the act of assigning to a variable. This .. vs

Re: Array membership test?

2010-07-30 Thread Aaron Sherman
I may be misunderstanding something. I haven't really looked into list searching much, but there seem to be some very odd and unexpected results, here. On Thu, Jul 29, 2010 at 7:52 PM, Jonathan Worthington wrote: >> my @x = 1,2,3; say ?...@x.grep(2); say ?...@x.grep(4); > 1 > 0 > > Though more e

Re: Array membership test?

2010-07-30 Thread yary
On Fri, Jul 30, 2010 at 2:22 PM, Aaron Sherman wrote: > If you really want odd, try: > >  say [1,2,3].first: * === True; > Result: 1 > > and > >  say [5,2,3].first: * === True; > Result: Rakudo exits silently with no newline Looks like a side effect of True being implemented as an enum with value

Re: Suggested magic for "a" .. "b"

2010-07-30 Thread Doug McNutt
Please pardon intrusion by a novice who is anything but object oriented. I consider myself a long time user of perl 5. I love it and it has completely replaced FORTRAN as my compiler of choice. "Programming Perl" is so dog-eared that I may need a replacement. I joined this list when I thought th

Smart match isn't on Bool

2010-07-30 Thread Aaron Sherman
In this code: given False { when True { say "True" } when False { Say "False" } default { say "Dairy" } } I don't think it's unreasonable to expect the output to be "False". However, it actually outputs "True". Why? Well, because it's in the spec that way. So... why is it in the spec that w

Re: Suggested magic for "a" .. "b"

2010-07-30 Thread Aaron Sherman
On Fri, Jul 30, 2010 at 6:45 PM, Doug McNutt wrote: > Please pardon intrusion by a novice who is anything but object oriented. No problem. Sometimes a fresh perspective helps to illuminate things. Skipping ahead... > Are you guise sure that the "..." and ".." operators in perl 6 shouldn't make

Re: Suggested magic for "a" .. "b"

2010-07-30 Thread Jon Lang
Aaron Sherman wrote: > In the end, I'm now questioning the difference between a junction and > a Range... which is not where I thought this would go. Conceptually, they're closely related. In particular, a range behaves a lot like an any() junction. Some differences: 1. An any() junction always

[perl #76828] Rakudo Star 'make' fails on Darwin/PPC

2010-07-30 Thread Will Coleda via RT
On Fri Jul 30 16:26:21 2010, jk...@verizon.net wrote: > On Fri Jul 30 06:20:30 2010, coke wrote: > > > > > How much memory do you have in the box (physical), ... > > > From 'top': > > PhysMem: 46.3M wired, 137M active, 68.7M inactive, 252M used, 3.68M free > > From System Profiler: Memory