Re: [perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread fREW Schmidt
> I'm all in favor of converting things that are complex in PIR to things > that are simple in Perl 6 ... but why convert things that boil down to a > single instruction in PIR into complex things in Perl 6? Especially > since the complex Perl 6 code is highly likely to run a couple orders of > ma

[perl #63878] Null PMC access when stringifying enum types and values in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63878] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63878 > rakudo: enum A <>; my A $a; say $a ne "" rakudo 5b1ff9: OUTPUT«Null PMC access in get_

Re: [perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread Geoffrey Broadwell
On Sat, 2009-03-14 at 14:07 -0700, fREW Schmidt wrote: > # New Ticket Created by fREW Schmidt > # Please include the string: [perl #63874] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=63874 > > > > , perl6 I'm al

[perl #63874] [PATCH] floor-ceiling-round-sign-and-abs-in-perl6

2009-03-14 Thread via RT
# New Ticket Created by fREW Schmidt # Please include the string: [perl #63874] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63874 > , perl6 -- fREW Schmidt http://blog.afoolishmanifesto.com diff --git a/src/builtins

[perl #63876] Rakudo erroneously reports invalid arg type in named portion of args in some cases where no named args are present

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63876] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63876 > rakudo: sub f ($f, *...@slurp) { @slurp[0].say; @_[0].say }; f("OH","HAI"); rakudo 5b

[perl #63880] Enums and Whatever stars don't play nice together in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63880] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63880 > masak: bug-bug! :) rakudo: say 1 < * rakudo 5b1ff9: OUTPUT«Use of uninitialized value

[perl #63884] Null PMC access when accessing enum value inside package in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63884] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63884 > masak: Rather too many tickets than too few. that's, like, my motto. rakudo: package

[perl #63882] Rakudo lets you define a sub over an enum value if you do it in an eval

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63882] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63882 > rakudo: enum A ; say a; eval 'sub a { "O HI" }'; say a rakudo 5b1ff9: OUTPUT«0␤a␤» wh

[perl #63872] [PATCH] implement $*PROGRAM_NAME (S28)

2009-03-14 Thread mbere...@autoexec.demon.nl (via RT)
# New Ticket Created by mbere...@autoexec.demon.nl # Please include the string: [perl #63872] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63872 > Just a one liner to copy the full pathname of the running Perl script, or

Re: r25807 - docs/Perl6/Spec

2009-03-14 Thread Jon Lang
On Sat, Mar 14, 2009 at 7:29 AM, Larry Wall wrote: > : So if I were to say: > : > :     rand $n: > : > : is the compiler smart enough to notice that trailing colon and > : recognize this as an indirect method call rather than two adjacent > : terms? > > No, currently under STD you get: > >    Obso

[perl #63872] [PATCH] implement $*PROGRAM_NAME (S28)

2009-03-14 Thread jn...@jnthn.net via RT
On Sat Mar 14 11:07:14 2009, mbere...@autoexec.demon.nl wrote: > Just a one liner to copy the full pathname of the running Perl script, or > otherwise '-e' into $*PROGRAM_NAME. (The * twigil does not appear in the > patch). > Thanks, applied as git 6d97951. Not sure what it should do in -e, but wi

r25830 - docs/Perl6/Spec/S32-setting-library

2009-03-14 Thread pugs-commits
Author: lwall Date: 2009-03-14 18:32:42 +0100 (Sat, 14 Mar 2009) New Revision: 25830 Modified: docs/Perl6/Spec/S32-setting-library/IO.pod Log: [IO] Massive overhaul, long overdue due to neglect of TimToady-- Modified: docs/Perl6/Spec/S32-setting-library/IO.pod

[perl #63864] Void-context prompt in Rakudo prints but doesn't read from $*IN

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63864] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63864 > it seems that void-context prompt doesn't read a line, though. is that a bug or a feat

Re: r25807 - docs/Perl6/Spec

2009-03-14 Thread Larry Wall
On Thu, Mar 12, 2009 at 06:29:19PM -0700, Jon Lang wrote: : > +To declare an item that is parsed as a simple term, you must use the : > +form C<< term: >>, or some other form of constant declaration such : > +as an enum declaration.  Such a term never looks for its arguments, : > +is never consider

[perl #63866] Things end up in the wrong namespace sometimes in Rakudo

2009-03-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63866] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63866 > rakudo: module A::B { role B { }; class D does A::B::B { } } rakudo 41267f: RESULT«{ .

r25823 - docs/Perl6/Spec/S32-setting-library

2009-03-14 Thread pugs-commits
Author: masak Date: 2009-03-14 13:34:54 +0100 (Sat, 14 Mar 2009) New Revision: 25823 Modified: docs/Perl6/Spec/S32-setting-library/IO.pod Log: replaced 'record' with 'line' in IO.pod 'record' is fine and understandable in the Unix world, and used by tools such as awk -- but line is immediately

r25822 - docs/Perl6/Spec/S32-setting-library

2009-03-14 Thread pugs-commits
Author: masak Date: 2009-03-14 13:34:50 +0100 (Sat, 14 Mar 2009) New Revision: 25822 Modified: docs/Perl6/Spec/S32-setting-library/IO.pod Log: replaced underscores with dashes in variable names in IO.pod Modified: docs/Perl6/Spec/S32-setting-library/IO.pod =

r25821 - docs/Perl6/Spec

2009-03-14 Thread pugs-commits
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 === --- d