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.
03:09 Heptite left 03:11 MasterDuke left 03:16 Heptite joined 03:48 MasterDuke joined 04:02 MasterDuke left, seekr left, ab5tract left, destroycomputers left, rf left, discord-raku-bot left, camelia left, theesm left, deadmarshal_ left, SmokeMachine left 04:03 MasterDuke joined, seekr joined, rf joined, ab5tract joined, destroycomputers joined, camelia joined, theesm joined, discord-raku-bot joined, deadmarshal_ joined, SmokeMachine joined, elcaro left 04:04 elcaro joined 04:09 aqua2 left, falsifian left, aqua2 joined, falsifian joined 04:10 sivoais left, samebchase left, CIAvash left, mjgardner left, tbrowder left, thowe left, human-blip left 04:11 gfldex left, nicole left, sivoais joined, samebchase joined, mjgardner joined, samebchase left, tbrowder joined, kjp left, thowe joined, samebchase joined 04:12 kjp joined 04:17 human-blip joined, gfldex joined, nicole joined 04:20 human-blip left, gfldex left, nicole left, kjp left, tbrowder left, thowe left 04:21 sivoais left, mjgardner left, aqua2 left, falsifian left, elcaro left, samebchase left, MasterDuke left, seekr left, ab5tract left, destroycomputers left, rf left, discord-raku-bot left, camelia left, theesm left, deadmarshal_ left, SmokeMachine left 04:24 Heptite joined, snonux joined, tea3po joined, Manifest0 joined, lizmat joined, lucs joined, shmup joined, avuserow joined, RakuIRCLogger joined, RakuIRCLogger left 04:34 human-blip left, gfldex left, nicole left, Sussysham joined 04:36 human-blip joined, gfldex joined, nicole joined
Sussysham good morning everyone 04:36
04:39 Sussysham left 04:41 Sussysham joined
AirwaveDev hi 04:46
04:47 Heptite left 04:52 Sussysham left 05:11 CIAvash joined
deadmarshal_ How can I check if all characters of a string are a subset of a set? 0x0.st/Hiv1.txt 06:39
06:47 teatwo joined 06:50 tea3po left 07:46 Sussysham joined 07:50 Sussysham left
Nemokosch What does @arr hold? 09:34
CIAvash 'str'.comb ⊂ $set 09:41
deadmarshal_ Nemokosch: strings 10:31
0x0.st/Hiwc.txt
CIAvash: Did I do something wrong here? 0x0.st/Hiwc.txt 10:32
Nemokosch > @arr = @arr.lc; this itself is problematic 11:35
lizmat @arr = @arr>>.lc 11:37
Nemokosch m: my @arr = <alpha beta gamma>; dd @arr; @arr = @arr.lc; dd @arr; 11:38
Raku eval Array @arr = ["alpha", "beta", "gamma"] Array @arr = ["alpha beta gamma"]
Nemokosch I'd allow equal sets as well, knowing the task, not only strict subsets 11:39
deadmarshal_ lizmat: thanks that was the problem 11:55
Nemokosch: ok I'll make it so
el gatito (** advocate) m:perl my $str = "Nice to meet you"; say $str.uniq; 12:30
Raku eval Exit code: 1 No such method 'uniq' for invocant of type 'Str'. Did you mean 'unique'? in block <unit> at main.raku line 2
el gatito (** advocate) m:perl my $str = "Nice to meet you"; say $str.unique; 12:31
Raku eval (Nice to meet you)
el gatito (** advocate) 🤔
Nemokosch this is a method for iterables I guess
el gatito (** advocate) m:perl my $str = "Nice to meet you"; say $str.comb.unique; 12:33
Raku eval (N i c e t o m y u)
el gatito (** advocate) m:perl my $str = "Nice to meet you"; say $str.lc.comb.unique.sort.join; 12:34
Raku eval ceimnotuy
el gatito (** advocate) m:perl my $str = "Nice to meet you"; say $str.lc.comb.unique.sort.join.raku; 12:35
Raku eval " ceimnotuy"
el gatito (** advocate) where did the space go
Nemokosch it's right there
el gatito (** advocate) i mean here
Nemokosch cdn.discordapp.com/attachments/768.../image.png
yes, there
bruh
el gatito (** advocate) the mobile client doesn't show the space smh 12:37
cdn.discordapp.com/attachments/768...iscord.jpg
weird
16:51 Heptite joined 17:22 habere-et-disper joined 18:14 habere-et-disper left 18:50 NemokoschKiwi joined 18:51 NemokoschKiwi left 18:55 teatwo left, teatwo joined 19:17 tea3po joined 19:19 tea3po left 19:20 teatime joined 19:21 teatwo left 19:26 tbrowder left 19:27 tbrowder__ joined 19:48 teatime left 19:49 teatime joined 19:51 teatime left, teatime joined 20:14 teatime left 20:15 teatime joined 21:48 habere-et-disper joined 22:40 kjp left 22:44 kjp joined 23:12 BigAnt joined, BigAnt left