01:06 qorg11 left 01:09 qorg11 joined 01:20 frost joined 02:11 Guest35 left 07:49 dakkar joined 08:04 TempIRCLogger left 08:06 TempIRCLogger joined 14:16 discord-raku-bot left 14:17 discord-raku-bot joined 14:47 Kaipei left 15:01 Kaipei joined 15:13 frost left 16:17 Guest35 joined 16:40 dakkar left 16:53 discord-raku-bot left, discord-raku-bot joined 16:58 Kaipei left 16:59 Kaipei joined 18:33 Kaipei is now known as Kaiepi
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/05/09/2022-19-docublast/ 18:42
19:02 n1to joined
Nemokosch Is there a nicer way to add the same value to several hash keys than to copy it enough times using the xx operator? 21:05
at Does setting the default do what you want? docs.raku.org/type/Hash#method_default 21:17
Nemokosch I don't think so 21:21
I'm thinking of "bulk setting" values because I know they will be the same
and Raku actually allows setting multiple values at once but then the RHS also needs to have multiple values
so I end up with something like
%hash{@keys} = value xx +@keys
at that looks reasonable to me 21:22
> and Raku actually allows setting multiple values at once but then the RHS also needs to have multiple values
TIL
does `%hash{@keys} = value xx *` work? 21:23
Nemokosch hmm
o.O it does 21:25
nice 🙂 Thank you
at no problem! 21:46
21:53 n1to left