[00:02] *** deadmarshal left
[00:34] *** deadmarshal joined
[05:40] <disbot4> <comborico> This works:    for 1..5 {say "foo" }

[05:41] <disbot4> <comborico> This does not:   for 5..1 {say "foo" }

[05:45] <disbot4> <comborico> (with   use v6;)  Not sure what version to put.  Fresh install of Rakudo, though, I think.

[05:55] <disbot4> <comborico> I understand that its suppose to be three dots.  But I just find it strange it works one way but not the other.

[07:32] <disbot4> <librasteve> two dots give you a Range, three is the sequence operator

[07:32] <disbot4> <librasteve> Ranges are the kind of thing you can use as an index into an Array

[07:34] <disbot4> <librasteve> so they barf unless you make them ascending

[07:44] <disbot4> <librasteve> m: say ('a'..'e')[*+(-3..-1)]

[07:44] <disbot4> <Raku eval>  (c d e) 

[07:44] <disbot4> <librasteve> lol

[07:58] *** Manifest0 joined
[09:17] <lizmat> yup, *-1 is just a WhateverCode, any Callable as index will do  :-)

[10:42] *** apogee_ntv left
[10:43] *** apogee_ntv joined
[13:31] *** apogee_ntv left
[13:32] *** apogee_ntv joined
[14:30] *** librasteve_ joined
[15:56] <librasteve_> https://rakudoweekly.blog/2026/05/25/2026-21-release-193/

[16:53] <lizmat> librasteve_++

[17:47] <disbot4> <comborico> I'm wondering why the ending parameter needs a comma.

[17:47] <disbot4> <comborico> https://cdn.discordapp.com/attachments/768511641758466088/1508527024367603762/Screenshot_20260514_114223.png?ex=6a15dcc5&is=6a148b45&hm=0f0bd8a48c3be017a94eaa60a3ef8a2389b6d1b943f2827ab7eed1d469fef50b&

[17:49] <lizmat> it doesn't, it's optional

[18:02] <disbot4> <comborico> Actually, nope it broke the subroutine.  Seems to be necessary.  Are you seeing the screenshot on IRC?

[18:04] <disbot4> <comborico> Malformed parameter

[18:07] <lizmat> is there a text gist from that?  I hate to be typing from an image

[18:08] <disbot4> <comborico> Line 12, as written breaks.  But add comma after wall and it works. https://pastebin.com/s4ycBTFR

[18:08] <disbot4> <comborico> I'm sorry. I don't know what a test gist is.

[18:08] <disbot4> <comborico> *text

[18:09] <lizmat> something I can copy / paste the code out of

[18:15] <disbot4> <comborico> Is the Raku conference always in Greenville, SC?

[18:16] <lizmat> The TPRC was there last year as well, and the year before that if I recall correctly

[18:16] <lizmat> before that it has been in many places in North America

[19:40] <disbot4> <comborico> So what's the deal with that comma?

[19:42] <lizmat> hmmm... executes fine for me, with or without the comma

[19:43] <lizmat> which version of Rakudo are you using ?

[19:45] <disbot4> <comborico> rakudo-moar-2026.04-01

[19:47] <disbot4> <comborico> Huh... that's weird.  It's working now.

[19:50] <disbot4> <comborico> I must have done something.  Probably my Emacs crazy hands doing something else.

[19:50] <lizmat> well, glad that it's fixed, even though we don't know how or why  :-)

[19:50] <disbot4> <comborico> Haha, yeah...

[19:50] <disbot4> <comborico> Me, too

[20:02] <disbot4> <comborico> Is there any more info on Quoting Construct besides https://docs.raku.org/syntax/Q ?

[20:03] <disbot4> <comborico> Oop, I see an Advent post.  See, newbies get excited and ask questions first, then search later.

[20:03] <lizmat> https://raku-advent.blog/2023/12/10/day-10-the-magic-of-q/

[20:03] <disbot4> <comborico> Haha, and you wrote it

[20:03] <lizmat> yeah  :-)

[21:02] <disbot4> <comborico> The highlighting didn't catch the :c in the say qq:!s:!c/foo "$x{$y}"\n/; # foo "$x{$y}"␤

[21:02] <disbot4> <comborico> And is EVALled the correct spelling?

[21:03] <disbot4> <comborico> I tried to leave a nice anonymous comment, but it wouldn't let me.

[21:18] *** apogee_ntv left
[21:18] *** apogee_ntv joined
[21:44] <disbot4> <comborico> Is there an easier way?  my $foo = 'a', 'b', 'c'

[21:44] <disbot4> <comborico> I tried: my $foo = (a, b, c)

[21:45] <disbot4> <comborico> But REPL thinks it's subroutines

[21:47] <disbot4> <comborico> On top of that, when called, $foo returns only a, for my $foo = 'a', 'b', 'c'

[21:51] <disbot4> <comborico> I understand scalars can only hold one value.  But I thought the comma notation caused the list type to kick in.

[21:53] <lizmat> m: my @foo = <a b c>

[21:53] <camelia> rakudo-moar f62b5005b: ( no output )

[21:53] <lizmat> m: my @foo = <a b c>; dd @foo

[21:53] <camelia> rakudo-moar f62b5005b: OUTPUT: «["a", "b", "c"]␤»

[21:59] *** apogee_ntv left
[22:06] *** apogee_ntv joined
[22:43] *** apogee_ntv left
[22:49] *** apogee_ntv joined
[22:54] *** apogee_ntv left
[23:01] *** apogee_ntv joined
[23:23] *** apogee_ntv left
[23:24] *** apogee_ntv joined
[23:31] *** Manifest0 left
