[00:37] <[Coke]> tbrowder: what's the link to the ticket?

[00:41] <[Coke]> does "zef test ." hit it?

[01:07] <[Coke]> tbrowder: your file is named incorrectly. Commented on your App::Mi6 ticket.

[01:17] <tbrowder> arg, i'm back in 1st grade again :-(

[01:24] <tbrowder> and blind as a bat. thanks, [Coke], you saved me again!

[01:32] *** hulk joined
[01:33] *** kylese left
[01:38] <Voldenet> nqp: class EEK {method Int() {return 3}}; my $a:= EEK.new(); say(+$a); # this works

[01:38] <camelia> nqp-moarvm: OUTPUT: «␤We trust you have received the usual lecture from the local System␤Administrator. It usually boils down to these three things:␤␤    #1) Respect the privacy of others.␤    #2) Think before you type.␤    #3) With great power comes great responsibility…»

[01:38] <Voldenet> …should

[01:39] <Voldenet> which makes me wonder if that's intentional or buggy

[01:41] <Voldenet> nqp: class EEK { method Int() { return 3 }}; my $a:= EEK.new(); say(nqp::intify($a)); # more working examples

[01:41] <camelia> nqp-moarvm: OUTPUT: «␤We trust you have received the usual lecture from the local System␤Administrator. It usually boils down to these three things:␤␤    #1) Respect the privacy of others.␤    #2) Think before you type.␤    #3) With great power comes great responsibility…»

[01:41] <Voldenet> nqp: class EEK { method Num() { return 3.0 }}; my $a:= EEK.new(); say(nqp::numify($a)); # same for Num

[01:41] <camelia> nqp-moarvm: OUTPUT: «␤We trust you have received the usual lecture from the local System␤Administrator. It usually boils down to these three things:␤␤    #1) Respect the privacy of others.␤    #2) Think before you type.␤    #3) With great power comes great responsibility…»

[01:44] <Voldenet> the whole nqp source doesn't have `Numeric` in it

[01:48] <Voldenet> I'm guessing doing `+nqp::numify($a)` automatically is wrong, because it wrecks precision

[01:50] <Voldenet> might, at least

[01:51] <Voldenet> so instead of 1e40 you get -something

[01:52] <Voldenet> It could make sense the other way

[01:52] <xinming> m: my $s = "aaaxxx-_"; if ($s ~~ /$<x> = [<[-] + alnum>+]/) { $<x>.Str.say; }

[01:52] <camelia> rakudo-moar 96c7630c3: OUTPUT: «aaaxxx-_␤»

[01:52] <xinming> m: my $s = "aaaxxx-_"; if ($s ~~ /$<x> = [<alnum + [-]>+]/) { $<x>.Str.say; }

[01:52] <camelia> rakudo-moar 96c7630c3: OUTPUT: «===SORRY!=== Error while compiling <tmp>␤Quantifier quantifies nothing␤at <tmp>:1␤------>  "aaaxxx-_"; if ($s ~~ /$<x> = [<alnum +<HERE> [-]>+]/) { $<x>.Str.say; }␤»

[01:53] <xinming> In this case, How do we make the second work?

[01:58] <xinming> Also, I saw there is something like  'regex { }',  I got curious, why not also 'token { }' :-)

[02:08] <xinming> seems, No syntax for '<alnum + [-]>+',  never mind,  will stick with  '<[-] + alnum>'

[02:15] *** hulk left
[02:15] *** kylese joined
[04:01] *** hwj joined
[04:07] *** hwj left
[04:19] *** vrurg_ joined
[04:21] *** vrurg left
[04:48] <xinming> m: my $s = "aaaxxx-_"; if ($s ~~ /$<x> = [<+alnum + [-]>+]/) { $<x>.Str.say; }

[04:48] <camelia> rakudo-moar 96c7630c3: OUTPUT: «aaaxxx-_␤»

[04:58] *** wayland joined
[04:59] *** wayland76 left
[05:17] *** hwj joined
[05:19] *** human-blip left
[05:21] *** human-blip joined
[05:44] <Voldenet> I'm not sure but

[05:44] <Voldenet> m: my $s = "aaaxxx-_"; if ($s ~~ / $<x> = [<alnum> | <[-]>]+ /) { $<x>.Str.say; } # perhaps this

[05:44] <camelia> rakudo-moar 96c7630c3: OUTPUT: «aaaxxx-_␤»

[05:45] <Voldenet> it's probably entirely different performance-wise

[05:46] <Voldenet> in fact you don't need character class

[05:46] <Voldenet> m: my $s = "aaaxxx-_"; if ($s ~~ / $<x> = [<alnum> | '-']+ /) { $<x>.Str.say; }

[05:46] <camelia> rakudo-moar 96c7630c3: OUTPUT: «aaaxxx-_␤»

[05:49] <Voldenet> yeah, it's 50% slower as expected

[06:17] *** ShimmerFairy left
[06:39] *** Sgeo left
[06:56] *** ShimmerFairy joined
[07:22] *** hwj left
[07:52] *** dakkar joined
