; 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
.. 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
't finish, yet
>
> --
> Will "Coke" Coleda
>
--
Mark J. Reed
't finish, yet
>
> --
> Will "Coke" Coleda
>
--
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:
# 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 {
# 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
> 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
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
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
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
> 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
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
# 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
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
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
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
# 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
# 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&
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
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
# 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
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
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
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
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
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
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
onfig' option to explicitly specify
> the location of parrot_config.
>
> % cat build/PARROT_REVISION
> 37414
>
> --
> Alex Kapranoff.
>
--
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
; 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
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
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
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
) 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]>
'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
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]>
=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
.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]>
s, currency conversion,
brokerage stuff...
--
Mark J. Reed <[EMAIL PROTECTED]>
al literals become approximations in binary...
--
Mark J. Reed <[EMAIL PROTECTED]>
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]>
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
5 wiki.
>
> http://www.perlfoundation.org/perl5/index.cgi
>
> Best regards,
> Conrad Schneiker
>
> www.AthenaLab.com
>
>
>
>
--
Mark J. Reed <[EMAIL PROTECTED]>
s before diving in.
--
Mark J. Reed <[EMAIL PROTECTED]>
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]>
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]>
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]>
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
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
"haven't gotten around to rw parameters in blocks yet" or a
regression?
--
Mark J. Reed <[EMAIL PROTECTED]>
51 matches
Mail list logo