🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:02 librasteve left 00:14 librasteve joined 00:15 jjido left 00:19 librasteve left 00:35 tedszy left 00:46 librasteve joined 00:51 vrurg left 00:53 librasteve left, vrurg joined 00:56 vrurg left 01:03 vrurg joined 01:14 vrurg left 01:15 vrurg joined 01:19 Guest39 joined 01:20 Guest39 left 01:21 yewscion joined, librasteve joined, vrurg left 01:23 vrurg joined 01:25 yewscion left 01:26 librasteve left 01:36 topnep left 01:37 topnep joined 01:39 kylese left 01:40 kylese joined 01:53 librasteve joined 01:58 librasteve left 02:15 kylese left, kylese joined 02:16 yewscion joined 02:19 librasteve joined 02:21 yewscion left 02:25 librasteve left 02:29 librasteve joined 02:35 librasteve left 02:46 librasteve joined 02:51 librasteve left 02:55 yewscion joined 03:00 yewscion left 03:01 librasteve joined 03:06 librasteve left 03:10 Guest66 joined 03:13 yewscion joined 03:17 librasteve joined 03:18 yewscion left 03:22 librasteve left 03:32 yewscion joined 03:37 yewscion left 03:41 topnep left 03:43 topnep joined 03:45 kylese left 03:48 kylese joined 03:51 librasteve joined 03:53 yewscion joined 03:55 librasteve left 03:57 yewscion left 04:00 librasteve joined 04:11 yewscion joined 04:16 yewscion left 04:19 librasteve left 04:20 librasteve joined 04:21 constxqt left 04:30 yewscion joined 04:35 yewscion left 04:41 Guest66 left 04:42 Guest66 joined 04:48 yewscion joined 04:52 yewscion left 05:10 kjp left 05:11 kjp joined 05:13 kjp left 05:14 kjp joined, yewscion joined 05:19 yewscion left 05:24 librasteve left 05:36 librasteve joined 05:40 librasteve left 05:50 yewscion joined 05:55 yewscion left 06:11 guifa left 06:14 librasteve joined 06:16 guifa joined 06:18 librasteve left, Sgeo left 06:25 gugod left, slu left 06:27 yewscion joined 06:30 gugod joined, slu joined 06:31 yewscion left 06:50 librasteve joined 06:54 librasteve left 07:01 yewscion joined 07:06 yewscion left 07:28 donaldh- joined 07:30 Guest66 left, donaldh left, guifa left 07:31 guifa joined 07:33 Voldenet left, Voldenet joined 07:39 jjido joined 07:49 wayland joined 07:59 dakkar joined, yewscion joined 08:04 yewscion left 08:07 jjido left 08:17 yewscion joined 08:22 yewscion left, Guest66 joined 08:49 Aedil left 09:22 yewscion joined 09:26 yewscion left 09:33 Guest66 left 09:59 topnep left 10:01 topnep joined, yewscion joined 10:06 yewscion left 10:19 yewscion joined 10:24 yewscion left 10:26 librasteve joined 10:37 yewscion joined 10:42 yewscion left 11:06 librasteve left 11:11 gabiruh joined, gabiruh_ left 11:14 yewscion joined 11:18 yewscion left 11:33 lichtkind joined 12:04 librasteve joined 12:05 topnep left, topnep joined 12:20 librasteve left 12:22 librasteve joined 12:28 librasteve left, yewscion joined 12:37 yewscion left 12:53 Sgeo joined 13:08 yewscion joined 13:13 yewscion left 13:26 yewscion joined 13:31 yewscion left 13:50 librasteve joined 13:57 librasteve left 14:08 librasteve joined 14:17 librasteve left 14:18 yewscion joined 15:05 jjido joined 15:14 avuserow left 15:17 avuserow joined 15:24 jjido left 15:49 wayland left, wayland joined 15:55 librasteve joined 16:01 librasteve left 16:04 wayland left, wayland joined 16:13 kjp left 16:14 kjp joined, topnep left 16:16 topnep joined 16:19 wayland left, wayland joined 16:24 wayland left, wayland joined 16:31 librasteve joined 16:34 dakkar left 16:36 librasteve left 16:46 librasteve joined 16:52 librasteve left 16:54 MoC joined, wayland left, wayland joined 16:59 wayland left, wayland joined 17:03 librasteve joined 17:07 librasteve left 17:14 wayland left, wayland joined 17:20 Aedil joined
[Coke] .seen librasteve 17:25
tellable6 [Coke], I saw librasteve 2025-06-11T21:37:29Z in #raku: <librasteve> to
17:30 librasteve joined 17:34 wayland left, wayland joined
melezhik. . 17:34
17:35 librasteve left 17:46 librasteve joined 17:48 yewscion left 18:03 manu_ is now known as eseyman 18:13 orangebot joined 18:19 topnep left 18:20 topnep joined
librasteve o/ 18:25
18:30 librasteve_ joined 18:41 jjido joined
Voldenet > `(1,3,2,4,5,1).grep: -> $a, $b { $a < $b, True }`, for example could return (1, 3, 2, 4, 1) 18:55
I guess it'd be pretty hard to figure out what does this do 18:56
timo so that behaves more like rotor? 18:59
19:01 yewscion joined 19:03 librasteve left
Voldenet yeah, something like that 19:03
timo and if you don't make the second parameter $b? it will just skip the test for that one and always spit it out? 19:05
ugexe I wonder what is happening right now... aws and gcp both have outages
downdetector.ca/
Voldenet well, the original idea was this github.com/rakudo/rakudo/issues/58...2963639208 19:07
but I'm not very convinced of multi-valued grep
I'd expect multivalued grep to be more like .rotor(2 => -1, :partial).grep 19:11
m: (^5).rotor(2 => -1, :partial).say # for reference
camelia ((0 1) (1 2) (2 3) (3 4) (4))
Voldenet so it could match elements using current and next/previous element in a sequence… 19:12
19:13 librasteve joined
Voldenet maybe that would make more sense `grep( -> $a, $b { }, :batch)` `grep( -> $a, $b { }, :lag)` `grep( -> $a, $b { }, :lead` 19:15
:batch would process 2 elements at the time, :lead/:lag could provide two elements but do the filtering on "current" element(s) being first or last argument 19:18
19:18 librasteve left
Voldenet though it can all be made using .rotor/.batch 19:20
19:47 librasteve joined 19:53 librasteve left 19:55 librasteve joined 19:56 MoC left 20:01 librasteve left 20:22 orangebot left 20:24 topnep left 20:26 topnep joined 20:31 wayland76 joined, wayland left 20:36 librasteve joined 21:07 yewscion left 21:08 yewscion joined 21:14 yewscion left 21:42 yewscion joined 21:46 yewscion left 21:47 librasteve left 21:53 librasteve joined 21:55 jjido left 21:58 librasteve left 22:01 librasteve joined 22:32 yewscion joined 22:56 Aedil left 23:02 yewscion left 23:07 lichtkind left 23:09 wayland76 left 23:19 yewscion joined 23:42 A008 joined 23:44 librasteve left 23:45 librasteve joined 23:46 yewscion left 23:50 librasteve left 23:51 yewscion joined 23:52 A008 left 23:53 A008 joined