00:41 hvxgr left 00:44 hvxgr joined 02:02 hvxgr left, hvxgr joined 02:49 constxd left 02:53 hulk joined, kylese left 03:15 hulk left, kylese joined 03:52 simcop2387 joined 03:54 simcop2387 left 04:05 constxd joined 04:13 simcop2387 joined 04:23 Aedil joined 04:37 lichtkind_ joined 04:40 lichtkind__ left 05:14 cm_ joined 05:15 cm left, cm_ is now known as cm 05:19 sibl joined 06:23 sibl left, sibl joined 06:28 sibl left, sibl joined 06:41 sibl left
disbot6 <antononcube> @lizmat A few of the images uploaded in the Raku-advent WordPress media folder are Dutch-themed. 08:22
<antononcube> I.e. made for potential use by your posts. 08:24
lizmat antononcube thanks for the hint, selected one of them :-) 08:37
09:42 johnjaye left 09:55 johnjaye joined 10:53 melezhik joined
disbot6 <librasteve> arun: not really, we would prefer not to adopt modules unless they are abandoned by their authors - the general idea of FOSS is that you get to see your code taken up more widely, but you the author should maintain and support it - this is important since after you have written a module, you will be the expert and, tbh, we will not have the same level of skill in that codebase in the "community" 11:48
ab5tract I used to think Raku was the Lord of the Rings to Perl's the Hobbit, but now I'm seeing it more as the Wheel of Time to Perl's Lord of the Rings 11:55
11:59 Sgeo left 12:01 mscha joined
mscha Is there such a thing as `comb` for lists? 12:03
For example, I want to turn ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i") into (("a", "b", "c"), ("d", "e"), ("f", "g", "h", "i"))
(Or `split` for lists, that would be more appropriate here.) 12:06
disbot6 <librasteve> snip maybe docs.raku.org/type/Any#routine_snip 12:12
librasteve_ m: use v6.e.*; my @list = ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i"); @list.snip((* ne '') xx Inf).say; 12:16
camelia ((a b c) ( d e) ( f g h i))
mscha Nice!  It keeps the empty strings in the list, but that's easy to deal with. 12:17
librasteve_ m: use v6.e.; my @list = ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i"); @list.snip(( ne '') xx Inf)>>.grep(* ne ‘’).say; 12:19
camelia ===SORRY!=== Error while compiling <tmp>
Raku v6.e requires PREVIEW modifier
at <tmp>:1
------> use v6.e.<HERE>; my @list = ("a", "b", "c", "", "d", "e
librasteve_ m: use v6.e.*; my @list = ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i"); @list.snip(( ne '') xx Inf).say;
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared routine:
ne used at line 1
librasteve_ m: use v6.e.*; my @list = ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i"); @list.snip(( * ne '') xx Inf)>>.grep(* ne ‘’).say; 12:20
camelia ((a b c) (d e) (f g h i))
mscha m: use v6.e.*; my @list = ("a", "b", "c", "", "d", "e", "", "f", "g", "h", "i"); @list.snip((/\S/) xx ∞)».grep(/\S/).say; 12:23
camelia ((a b c) (d e) (f g h i))
mscha (That matches my real life case a bit better)
Geth advent/main: 379a73dc0e | antononcube++ | raku-advent-2025/authors.md
docs:Adding another (fourth) article.
12:26
advent/main: fa03f6f2eb | librasteve++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
Merge pull request #136 from antononcube/master

docs:Adding another (fourth) article by antononcube.
advent/main: 891e9d1fc4 | librasteve++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
mark day 7 as scheduled
12:27
12:43 sibl joined 13:02 melezhik_ joined 13:19 johnjaye left 13:21 johnjaye joined, sibl left, melezhik_ left 13:52 maskd joined 14:21 abraxxa-home joined 14:24 mahlay left 14:29 mahlay joined 14:43 melezhik left
mscha m: my @a = 1,2,3; @a ,= 4; .say for @a; # is this a bug? 14:44
camelia (\Array_4969368062344 = [Array_4969368062344 4])
4
15:02 abraxxa-home left 15:03 abraxxa-home joined
disbot6 <antononcube> Most likely a feature. 15:08
ShimmerFairy m: my @a = 1,2,3; @a = @a,4; .say for @a 15:12
camelia (\Array_4387228762504 = [Array_4387228762504 4])
4
15:17 melezhik joined 15:44 lichtkind_ left 16:01 abraxxa-home left
disbot6 <jubilatious1_98524> m: my @a = 1,2,3; @a = @a[*],4; .say for @a; 16:07
lizmat m: my @a = 1,2,3; @a = |@a,4; .say for @a
camelia 1
2
3
4
disbot6 <jubilatious1_98524> % raku -e 'my @a = 1,2,3; @a = @a[*],4; .say for @a;' (1 2 3) 4
lizmat single argument rule only flattens arrays if they're the only arg. They do not if there are multiple ones (like @a,4)
disbot6 <jubilatious1_98524> @mscha github.com/Raku/roast/blob/db8f518...ign.t#L749 16:17
<jubilatious1_98524> @mscha www.nntp.perl.org/group/perl.perl6...g9422.html 16:35
<jubilatious1_98524> Oops, thread actually starts a month earlier: www.nntp.perl.org/group/perl.perl6...g9384.html 16:47
16:58 Pixi left
Geth advent/main: e579f89a19 | ab5tract++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
Adding ab5tract to the 2025 advent schedule
16:58
17:03 Pixi joined 17:56 mscha left 18:04 Pixi` joined 18:05 Pixi left 18:10 Pixi` left 18:19 Pixi joined
disbot6 <antononcube> Please, vote: news.ycombinator.com/item?id=46175404 18:24
<librasteve> done 18:38
<librasteve> ab5tract: ++ ... many more slots to fill! 18:40
18:47 lichtkind joined 19:37 melezhik left 19:40 Sgeo joined
Geth raku.org: librasteve++ created pull request #280:
Change Air::Plugin::Hilite pin to Air:ver<0.1.0>
20:42
raku.org/main: e8e663255f | librasteve++ | META6.json
pin to Air::Plugin::Hilite:ver<0.0.6>
20:47
raku.org/main: 384df1d563 | librasteve++ (committed using GitHub Web editor) | 0 files
Merge branch 'Raku:main' into main
raku.org/main: 725f7cdfee | librasteve++ (committed using GitHub Web editor) | META6.json
Merge pull request #280 from librasteve/main

Change Air::Plugin::Hilite pin to Air:ver<0.1.0>
21:10 snonux left 21:11 snonux joined
Geth raku.org: librasteve++ created pull request #281:
Add xmas trim
22:04
¦ raku.org: librasteve self-assigned Rm xmas trim on 12th night github.com/Raku/raku.org/issues/282 22:07
raku.org/main: b7533a28cd | librasteve++ | 2 files
add xmas trim
22:08
raku.org/main: 841873a108 | librasteve++ | 0 files
Merge remote-tracking branch 'origin/main'
raku.org/main: 6b415e5eb4 | librasteve++ (committed using GitHub Web editor) | 2 files
Merge pull request #281 from librasteve/main

Add xmas trim