Re: [perl #77202] [BUG] "Method 'foo' not found" error is missing class name

2011-10-04 Thread Mark J. Reed
; Method 'foo' not found for invocant of class 'A' > > $ perl6 -e 'Any.foo' > Method 'foo' not found for invocant of class 'Any' > > $ perl6 --version > This is perl6 version 2011.09-35-g545638a built on parrot 3.8.0 revision RELEASE_3_8_0- > 120-gb7e7400 > > > closable with tests. > > -- > Will "Coke" Coleda > -- Mark J. Reed

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

2010-07-30 Thread Mark J. Reed
.. vs ... stuff is going to be a continuous source of confusion, I fear. On Friday, July 30, 2010, Patrick R. Michaud wrote: > 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 i

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

2010-07-30 Thread Mark J. Reed
't finish, yet > > -- > Will "Coke" Coleda > -- Mark J. Reed

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

2010-07-30 Thread Mark J. Reed
't finish, yet > > -- > Will "Coke" Coleda > -- Mark J. Reed

[perl #76758] Function syntax doesn't work on meta operators

2010-07-27 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #76758] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76758 > > say [+](2..7),8,9 44 That should produce the same thing as this:

[perl #76600] augment re-applies roles

2010-07-21 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #76600] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76600 > use MONKEY_TYPING; role Bar { has $.counter; } class Pub does Bar {

[perl #76614] Defining BUILD prevents initialization of attributes to default values

2010-07-21 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #76614] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76614 > rakudo: class Foo { has $.bar = "baz"; }; say Foo.new.bar

Re: [perl #76238] Bool.pick always returns false.

2010-06-30 Thread Mark J. Reed
>  augment class Bool { >    method pick() { >      defined self ?? self !! (True, False).pick >    } >  } > > In fact, I see no reason not to patch Rakudo itself with this method for the > time being. > -- Mark J. Reed

Re: [perl #76238] Bool.pick always returns false.

2010-06-28 Thread Mark J. Reed
n enumerations, and figure out how to turn Bool into > one (or convince the specification that Bool is not really an > enumeration :-). > > Pm > -- Mark J. Reed

Re: [perl #75458] package Foo; does not cause parsefail

2010-06-01 Thread Mark J. Reed
uld be right for STD.pm6 to actually allow such a > form, if it did > enough p5. Rakudo, in its present form, should probably disallow it. > -- Mark J. Reed

Re: Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Mark J. Reed
uence (which is a bug): > > 10:53 <@moritz_> rakudo: say 'c' ~~ /<[\x03c0]>/ > 10:53 <+p6eval> rakudo 10a321: OUTPUT«c␤» > 10:55 <@moritz_> rakudo: say '0' ~~ /<[\x03c0]>/ > 10:55 <+p6eval> rakudo 10a321: OUTPUT«0␤» > > Cheers, > Moritz > -- Mark J. Reed

Re: Announce: Rakudo Perl 6 development release #29 ("Erlangen")

2010-05-20 Thread Mark J. Reed
> available in the "docs/release_guide.pod" file.  In general, Rakudo > development releases are scheduled to occur two days after each > Parrot monthly release.  Parrot releases the third Tuesday of each month. > > Have fun! > > [1] http://github.com/jnthn/blizkost > > -- > Solomon Foster: colo...@gmail.com > HarmonyWare, Inc: http://www.harmonyware.com > -- Mark J. Reed

Re: [perl #74820] [BUG] No runtime warning when list-assigning to readonly things in Rakudo

2010-05-03 Thread Mark J. Reed
x27;s next line > * masak does the thing that fulfills that prediction > rakudo: sub foo($a is rw) { $a = 5 }; foo(42) > rakudo c4857a: OUTPUT«Cannot assign to readonly value > rakudo: (1, 2) = 3, 4 > rakudo c4857a: ( no output ) > ok, so it's the list assignment that doesn't pick up on non-rw > values. > -- Mark J. Reed

[perl #74622] GatherIterator.perl flattens output sometimes.

2010-04-24 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #74622] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74622 > > say ((1,2) X ).perl (1, "a", 1, "b", 2, &qu

Re: [perl #74334] [PATCH] Fix Parcel.sort (fixes the very first example in http://cloud.github.com/downloads/perl6/book/book-2010-04.pdf) and Hash.sort

2010-04-13 Thread Mark J. Reed
invoking HCF (Halt and Catch Fire). > > Probably the easiest solution is just to do the sort, check that it > contains a NaN somewhere, then grep the NaN out of the results and > compare the cleaned results against an expected list with no NaN in it. > > > -'f > > > -- Mark J. Reed

Re: [perl #73948] [BUG] Z, doesn't flatten its parcels in list context as does Z in Rakudo

2010-04-01 Thread Mark J. Reed
k smells a bug > well, I think the parcels should flatten in list context > rakudo: say ( Z <1 2 3>).perl > rakudo 0dcfc6: OUTPUT«("a", "1", "b", "2", "c", "3")␤» > aye > I think we still have flattening issues... > EOUTOFSTEAMROLLERS > * masak submits rakudobug > -- Mark J. Reed

Re: [perl #73818] Test::is flattens arguments

2010-03-26 Thread Mark J. Reed
5:55 AM, Moritz Lenz via RT wrote: > is() does string comparison, and I see no bug in there. > > If you want structural equivalence testing, use is_deeply instead. > -- Mark J. Reed

[perl #73816] Zip flattens result

2010-03-26 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #73816] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=73816 > > my @a = (1,2) Z (3,4); say @a.perl [1, 3, 2, 4] Per S03, that

[perl #73818] Test::is flattens arguments

2010-03-26 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #73818] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=73818 > This test currently passes: is [1,2,3,4], [[1,2],[3,4]] and I&

Zip overflattens

2010-03-18 Thread Mark J. Reed
7;d expect the two ops to flatten the same amount, regardless. Also, the above is a manual Perlification of the results; calling .perl on either gives the LTA result "GatherIterator.new()". -- Mark J. Reed

Temporal in Rakudo

2010-02-24 Thread Mark J. Reed
On the heels of the perl6-language thread I started - is there any way in current Rakudo to get a broken-out DateTime from a time() value? -- Mark J. Reed

[perl #68980] %*ENV values empty outside of direct access via key

2009-09-04 Thread Mark J. Reed
# New Ticket Created by "Mark J. Reed" # Please include the string: [perl #68980] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=68980 > > %*ENV.perl.say "/sw/bin:/sw/sbin:/Users/mreed/bin:/opt/local

Re: Rakudo 2009-08 REPL: no UTF-8

2009-09-03 Thread Mark J. Reed
And of course I find the bug someone else submitted *after* I send that message. http://rt.perl.org/rt3/Public/Bug/Display.html?id=68744 Nothing new to see here, move along... On Thu, Sep 3, 2009 at 10:51 PM, Mark J. Reed wrote: > Possibly a known bug, but Rakudo (at least on OS X) is treat

Rakudo 2009-08 REPL: no UTF-8

2009-09-03 Thread Mark J. Reed
orld!» { .say } Statement not terminated properly at line 1, near "\x{c2}\x{ab}Hello wo" in Main (src/gen_setting.pm:3425) -- Mark J. Reed

Re: Rakudo release numbers

2009-07-30 Thread Mark J. Reed
ime components. Offhand, the only mandatory delimiter I can think of is the "W" used with week-based dates to distinguish them from month-based ones. -- Mark J. Reed

Re: [perl #67050] $str.Num should be the same as +$str

2009-06-30 Thread Mark J. Reed
sing you saw + used to get the length of an array, and that's where you got that it's equivalent to P5 scalar(). -- Mark J. Reed

Re: [perl #64712] something is wrong with gen_parrot.pl

2009-04-14 Thread Mark J. Reed
ckout -r" . $required . " " . " >> > https://svn.parrot.org/parrot/trunk parrot"); >> > >> > Regards, >> > Sam >> >> Out of curiosity, what error messages are you getting? >> >> BTW, this command looks right to me, passing a list to system() instead >> of a string avoids shell escaping issues. >> >> -- >> Will "Coke" Coleda >> > -- Sent from my mobile device Mark J. Reed

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

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

2009-03-18 Thread Mark J. Reed
onfig' option to explicitly specify > the location of parrot_config. > > % cat build/PARROT_REVISION > 37414 > > -- > Alex Kapranoff. > -- Mark J. Reed

Re: [perl #62478] C-style for loop does not give an error

2009-01-18 Thread Mark J. Reed
he above is perfectly legal code. Presumably "say $_" would also yield 2, since I gather the for is looping over ($i). -- Mark J. Reed

Re: [perl #62364] [BUG] *

2009-01-15 Thread Mark J. Reed
; On the bright side, this already works in Rakudo: > > rakudo: say * ~~ Whatever > rakudo 35577: OUTPUT«1␤» > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed

Re: [perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-10 Thread Mark J. Reed
fields, only leading ones, but the output seems to be correct for both: > "a b c ".split(/+/).perl.say ["a", "b", "c", ""] vs Perl5, exhibiting the trailing field chomp: $ perl -MData::Dumper -le 'print Data::Dumper->new([[split(/\s+/, "a b c ")]])->Indent(0)->Terse(1)->Dump' ['a','b','c'] -- Mark J. Reed

Re: [perl #61610] Something is inconsistent with the undef warnings of .reduce

2008-12-22 Thread Mark J. Reed
an one for every undef in the expansion. On Mon, Dec 22, 2008 at 4:17 PM, Vasily Chekalkin wrote: > Mark J. Reed wrote: >> >> Arity 2 and a 1-elem list seems to be special-cased; otherwise, it >> consistently warns once per undefined value in the expansion: > > 1-elem List

Re: [perl #61610] Something is inconsistent with the undef warnings of .reduce

2008-12-22 Thread Mark J. Reed
it? > ohh but that should have the same error then > rakudo: list(1).reduce( { $^a + $^b;}); > rakudo 34244: RESULT[1] > rakudo: list(1).reduce( { $^a + $^b + $^c;}); > rakudo 34244: RESULT[1] > rakudo: list(1,2).reduce( { $^a + $^b + $^c;}); > rakudo 34244: OUTPUT[Use of uninitialized value␤] > okay thats a bit weird > something inconsistent is going on. > -- Mark J. Reed

Re: [perl #60674] sign($x) always returns 1 when $x ~~ Complex

2008-11-21 Thread Mark J. Reed
) can only return one of three values. As long as it's sufficiently unlikely that a Complex will show up when the programmer isn't expecting it, I'm fine with just having sgn() return 0 for 0 and z/abs(z) for everything else. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #60674] sign($x) always returns 1 when $x ~~ Complex

2008-11-20 Thread Mark J. Reed
't it make more sense to have > > multi sub sgn(Num) -> Num > multi sub sqrt(Num) -> Num > > behave appropriately for real numbers and > > multi sub sgn(Complex) -> Complex > multi sub sqrt(Complex) -> Complex > > behave appropriately for complex numb

Re: [perl #60674] sign($x) always returns 1 when $x ~~ Complex

2008-11-20 Thread Mark J. Reed
behavior (via a pragma or whatever) so that sqrt() returns complex numbers, and then sgn() should start behaving on such numbers. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #60510] Bad plan: t/spec/S29-conversions/ord_and_chr.rakudo

2008-11-13 Thread Mark J. Reed
=6484, 1224 wallclock secs (661.02 cusr + 28.94 csys = 689.96 CPU) On Thu, Nov 13, 2008 at 6:03 PM, Mark J. Reed <[EMAIL PROTECTED]> wrote: > On Thu, Nov 13, 2008 at 5:31 PM, Ovid < > [EMAIL PROTECTED]> wrote: > >> Now this test passes (r32629), but the Perl 6 test suite is

Re: [perl #60510] Bad plan: t/spec/S29-conversions/ord_and_chr.rakudo

2008-11-13 Thread Mark J. Reed
.65 usr 0.82 sys + 539.47 cusr 22.60 csys = 564.54 CPU) Result: FAIL It would also help if the actual test output weren't overrun with "Use of uninitialized value". Is that the result of bad tests or bad harness? -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Rakudo test miscellanea

2008-06-26 Thread Mark J. Reed
s, currency conversion, brokerage stuff... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Rakudo test miscellanea

2008-06-26 Thread Mark J. Reed
al literals become approximations in binary... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Rakudo test miscellanea

2008-06-26 Thread Mark J. Reed
n Int, and > Int does Num > Rat does Num But Int should do Rat, too... > That way a compiler that only implements classes and roles (and no > subset types) can get the hierarchy of numeric types right. ...assuming it's a hierarchy in the first place. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread Mark J. Reed
Ok, consider me duly chastised. Sorry for the sidetracking. On 12/29/07, chromatic <[EMAIL PROTECTED]> wrote: > On Saturday 29 December 2007 06:56:45 Mark J. Reed wrote: > > > Maybe it's just me, but it > > seems like it will just feed the all-too-common percep

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread Mark J. Reed
5 wiki. > > http://www.perlfoundation.org/perl5/index.cgi > > Best regards, > Conrad Schneiker > > www.AthenaLab.com > > > > -- Mark J. Reed <[EMAIL PROTECTED]>

Where to put test for tr///?

2006-08-25 Thread Mark J. Reed
s before diving in. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: pugs: rw block parameters

2006-08-25 Thread Mark J. Reed
On 8/24/06, Audrey Tang <[EMAIL PROTECTED]> wrote: Mark, can you add a test to t/statements/for.t? A commit bit is on its way to your inbox. :-) Done. Tests 37 (implicit "rw $_") and 38 (explicit "-> $x is rw") add to for.t as of r12968. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: pugs: rw block parameters

2006-08-24 Thread Mark J. Reed
That may be what you fixed; I haven't built r12675 yet to see. But it's not what I thought the problem was. :) -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Pugs bugs

2006-08-24 Thread Mark J. Reed
o works because parens were the old way of hiding pairs from being named parameters OK, I see those in S06 now. And may I say . . . urk! But I'll say no more, as that is a design topic, and as such fodder for an entirely different mailing list. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: pugs: rw block parameters

2006-08-24 Thread Mark J. Reed
On 8/24/06, Larry Wall <[EMAIL PROTECTED]> wrote: On Wed, Aug 23, 2006 at 05:01:43PM -0400, Mark J. Reed wrote: : Sorry if this is a known question, but I didn't see it mentioned in the : recent archive or FAQ. : : for ($a, $b) { $_ = ... } : : gives me a "Can't modif

Pugs bugs

2006-08-24 Thread Mark J. Reed
Is there a repository of current known bugs with pugs, like there is with Parrot? I'm just starting and don't want to point out things that are already known. I just built Pugs fresh from SVN on four different platforms (Win32, Solaris, OS X Panther, and OS X Tiger) and noticed these things cons

pugs: rw block parameters

2006-08-23 Thread Mark J. Reed
"haven't gotten around to rw parameters in blocks yet" or a regression? -- Mark J. Reed <[EMAIL PROTECTED]>