This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
Anton Antonov <@329084082162106371> Thanks! My solution is very similar `my @v = <1 2 3>; my $sep = 'a'; ((@v Z ($sep xx @res.elems)).flat)[^(*-1)]` . Using `.head(-1)` did not occur to me... 00:13
Nemokosch You might be better off using X instead of Z actually 00:16
avuserow Getting some vague lisp vibes here, pretty neat
Nemokosch Especially if items are turned into one-element lists, which i would anticipate 00:17
Anton Antonov <@329084082162106371> I use Mathematica and R a lot, and both of them are LISP descendants . 00:18
avuserow If you're guaranteed to have single character lists on both sides, you could just join and comb.
01:12 deoac joined 01:13 Kaipei left 01:17 deoac left 01:32 mahafyi joined 01:41 razetime joined 01:53 frost joined 03:00 frost left 03:05 RakuIRCLogger left 03:06 lizmat left 03:18 frost joined 03:38 razetime left 03:51 frost left 04:31 razetime joined 05:04 kjp left 05:06 kjp joined 05:17 mahafyi left 05:38 Heptite left 07:21 Kaipei joined 08:07 frost joined 08:08 razetime left 08:21 frost left 08:22 razetime joined 09:03 jaguart left, jaguart joined 09:09 dakkar joined 09:26 lizmat_ left 09:27 lizmat joined 11:40 razetime left 12:16 dakkar left 12:25 razetime joined 13:00 dakkar joined 15:24 razetime left 15:36 razetime joined 16:32 Heptite joined 16:38 razetime left 16:39 razetime joined 16:49 razetime left 16:50 razetime joined 17:35 dakkar left 18:04 codesections joined 18:08 razetime left 20:21 bigfondue left 20:54 jgaz joined 21:59 jgaz left 22:21 bigfondue joined 23:04 discord-raku-bot left, discord-raku-bot joined 23:27 discord-raku-bot left, discord-raku-bot joined