different behavior for the first one:
13:34 < diakopter> r: say ((1,2) X ).perl
13:34 <+p6eval> rakudo e2d876: OUTPUT«((ListIter.new(),),
(ListIter.new(),),
(ListIter.new(),), (ListIter.new(),)).list»
The original code works now
12:09 m: subset Greeting of Str where { /:i ^oh \s+ \w+ '!'?$/ };
subset LolGreeting of Str where { .words[1].lc eq 'hai' };
multi detect(Str) { "not a greeting" }; multi
detect(Greeting) { "regular greeting" };
seems fixed to me
12:12 m: grammar test { token a { a }; token b { b }; token TOP {
> };}; test.parse("abc").say
12:12 rakudo-moar 61d231: OUTPUT«Nil»
new behavior:
12:16 rakudo: class A { method foo { say "A" } }; class B is A {
method foo { say "B"; nextsame } }; my &x =
B.WALK(:name)[0]; &x.wrap: { say "wrap"; nextsame };
x(B.new)
12:16 rakudo-moar 61d231: OUTPUT«wrapBAttempt to ret
new behavior:
12:18 m: my $b; { my $_ = 5; $b = { .say } }; $_ = 42; $b()
12:18 rakudo-moar 61d231: OUTPUT«Potential difficulties:
Redeclaration of symbol $_at
/tmp/7gI9FhwrCH:1--> my $b; { my $_⏏ = 5; $b = { .say
} }; $_ = 42; $b()42»
resolved
12:25 m: say $*PERL
12:25 rakudo-moar 61d231: OUTPUT«Perl 6 (6.c)»
resolved
12:27 m: (0, {last if $^a==$^b; (1..5).pick} ... *).perl.say
12:27 rakudo-moar 61d231: OUTPUT«Cannot .elems a lazy list in block
at /tmp/s8pj85e1Wc line
1Actually thrown at: in block at /tmp/s8pj85e1Wc
line 1»
12:52 < diakopter> m: say (^2**64).pick.fmt('%64b')
12:52 <+camelia> rakudo-moar 61d231: OUTPUT«
111001010001011100011101000»
12:52 < diakopter> m: say (^2**64).pick.fmt('%64b')
12:52 <+camelia> rakudo-moar 61d231:
OUTPUT«010001
new behavior:
13:30 m: sub postfix:{}($a) { say "$a bracey brace" }; 42{}
13:30 rakudo-moar 61d231: OUTPUT«===SORRY!===Internal error:
find_var_decl could not find $_»
Moar still segfaults:
13:35 m: class A {}; class B is A { has $!x = 5; our method foo(A:)
{ say $!x } }; &B::foo(A.new)
13:36 rakudo-moar 61d231: OUTPUT«(signal SEGV)»
new behavior:
13:48 m: use experimental :macros; macro foo { quasi { my $a = "OH
HAI"; say $a } }; foo
13:48 rakudo-moar 61d231: OUTPUT«===SORRY!===Optimizer: No lexical
$a found»
13:56 < diakopter> m: say 1.001 # Rat fail?
13:56 <+camelia> rakudo-moar 61d231: OUTPUT«1.3641037050347531»
13:57 < psch> m: say 1.001.WHAT
13:57 <+camelia> rakudo-moar 61d231: OUTPUT«(Rat)»
13:57 < psch> m: say 1.000
12 matches
Mail list logo