🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:02 reportable6 left 00:05 reportable6 joined 00:22 Xliff joined 00:29 Xliff_ joined 00:32 Xliff left 00:34 _Xliff_ joined 00:37 Xliff_ left, Xliff_ joined 00:40 _Xliff_ left, _Xliff_ joined 00:43 Xliff_ left 00:45 Xliff_ joined 00:48 _Xliff_ left 00:51 _Xliff_ joined 00:53 Xliff_ left 01:00 Xliff_ joined 01:03 _Xliff_ left 01:04 _Xliff_ joined 01:07 Xliff_ left 01:17 Xliff_ joined 01:20 _Xliff_ left 01:24 _Xliff_ joined 01:27 Xliff joined, Xliff_ left 01:28 frost joined 01:29 _Xliff_ left, Xliff_ joined 01:32 Xliff left 02:00 _Xliff_ joined 02:02 Xliff_ left, Xliff joined 02:03 nine left, nine joined 02:04 _Xliff_ left 02:05 Xliff_ joined 02:08 _Xliff_ joined, Xliff left 02:11 Xliff_ left 02:13 mahafyi left 02:19 Xliff_ joined 02:21 _Xliff_ left 02:22 _Xliff_ joined 02:25 Xliff_ left 02:39 Xliff_ joined 02:42 _Xliff_ left 02:45 _Xliff_ joined 02:48 Xliff_ left 02:50 Xliff_ joined 02:53 _Xliff_ left 02:59 _Xliff_ joined 03:02 Xliff_ left 03:07 Xliff_ joined 03:09 _Xliff_ left 03:11 _Xliff_ joined 03:13 Xliff joined 03:14 xinming_ left, Xliff_ left, xinming_ joined 03:15 _Xliff_ left 03:29 Xliff_ joined 03:31 Xliff left 03:36 _Xliff_ joined 03:38 Xliff_ left 03:45 ecocode__ left 03:46 patterner_ left 03:47 ecocode__ joined 03:48 Xliff_ joined, patterner_ joined 03:51 _Xliff_ left 03:53 _Xliff_ joined 03:55 Xliff_ left 04:25 Xliff_ joined 04:28 _Xliff_ left 04:35 _Xliff_ joined 04:38 Xliff_ left 04:54 squashable6 left 04:57 squashable6 joined 05:05 mahafyi joined 05:06 squashable6 left 05:49 kjp joined, abraxxa joined 05:53 abraxxa left 05:55 abraxxa joined 06:03 reportable6 left 06:05 reportable6 joined 06:14 Xliff_ joined 06:17 _Xliff_ left 06:19 _Xliff_ joined 06:22 Xliff_ left 06:35 Xliff_ joined 06:38 _Xliff_ left 06:50 Sgeo_ joined 06:51 Sgeo left 06:54 mykhal left 07:03 _Xliff_ joined 07:06 Xliff_ left 07:20 tejr joined 07:27 Xliff_ joined 07:30 _Xliff_ left 07:32 tejr left 07:33 tejr joined 07:34 _Xliff_ joined 07:37 Xliff_ left 07:39 mykhal joined 07:45 Xliff_ joined 07:48 _Xliff_ left 07:52 _Xliff_ joined 07:55 Xliff_ left 07:56 Xliff_ joined 07:57 Sgeo_ left 07:58 _Xliff_ left 07:59 Xliff joined 08:00 Xliff_ left 08:01 Xliff_ joined 08:04 Xliff left, _Xliff_ joined 08:07 Xliff_ left 08:08 squashable6 joined 08:12 dakkar joined 08:24 Xliff_ joined 08:26 _Xliff_ left 08:32 _Xliff_ joined 08:35 Xliff_ left 08:41 Xliff_ joined 08:44 _Xliff_ left, _Xliff_ joined 08:47 Xliff_ left 09:00 japhb left 09:06 Xliff_ joined 09:09 _Xliff_ left 09:12 japhb joined 09:14 _Xliff_ joined 09:16 Xliff_ left 09:18 berber44 joined 09:34 Xliff_ joined 09:37 _Xliff_ left 09:38 Xliff joined 09:39 _Xliff_ joined, Xliff_ left 09:40 Xliff_ left 09:42 Xliff left 09:43 Xliff left 09:50 mahafyi left 10:24 tejr left, tejr_ joined, tejr_ is now known as tejr 10:26 Xliff_ joined 10:29 _Xliff_ left 10:31 Xliff_ left 12:02 reportable6 left 12:05 tejr left 12:06 tejr joined
Petr where i can find simple tutorial about modules? 12:30
perryprog Petr, docs.raku.org/language/modules is probably what you want 12:31
xinming_ m: (+^1).say
camelia -2
xinming_ In this case, Can we make the -2 unsigned int? 12:33
What I mean is something like, bitwise not on a char, and get the integer for that char
12:41 Xliff joined
Petr Thanks ) 12:48
Thanks 12:49
dakkar xinming_: I was going to say `ord(~^…)`, but apparently that's NYI docs.raku.org/language/operators#prefix_~^ 12:59
13:03 reportable6 joined 14:03 linkable6 left, evalable6 left 14:04 evalable6 joined
tonyo that's pretty low hanging fruit to implement at this point 14:06
14:16 frost left 14:20 mtj left 14:28 ASSISTENZA joined, ASSISTENZA left 14:42 ASSISTENZA joined, ASSISTENZA left 14:54 Xliff_ joined 14:57 Xliff left 15:05 linkable6 joined 15:07 jmcgnh left 15:08 Sgeo joined, _Xliff_ joined 15:11 Xliff_ left 15:16 kiky joined, kiky left 15:17 jmcgnh joined, Xliff_ joined 15:20 _Xliff_ left 15:32 _Xliff_ joined 15:35 Xliff_ left 15:41 Xliff_ joined 15:44 _Xliff_ left 15:58 mahafyi joined 16:07 tejr left 16:08 tejr joined 16:15 patrickb joined 16:17 patrickb left 16:39 Manifest0 left, Manifest0 joined 16:51 dakkar left 16:59 vrurg left 17:04 vrurg joined
lizmat tonyo: re prefix ~^ I think it's more bikeshedding on the exact semantics? 17:23
tonyo yes but if someone just does the work and submits it they're more likely to have it than if they just comment somewhere about it while no one does the work 17:26
17:35 _________ is now known as __________, __________ is now known as noodly, noodly is now known as _________ 17:43 linkable6 left
lizmat clickbaits rakudoweekly.blog/2021/10/18/2021-...ning-with/ 17:55
18:02 reportable6 left 18:05 reportable6 joined
pony clicks 18:39
perryprog "Learn Raku with balls" I can't be the only one who read that as that 18:40
Whoa, lizmat, this is the two year anniversary of rakudo weekly?! :O 18:42
lizmat indeed it is :-) 18:43
pony heh, I like the reddit about what grammars are
lizmat my first weekly was in January 2015 though, so I've been at it a bit longer already
perryprog That's amazing. Congratulations, and thank you for your always-wonderful posts. I've said it before, but I want to say it again: Rakudo weekly is one of the number one reasons I have always enjoyed Raku outside of the language itself. 18:44
lizmat thank you for your kind words :-)
perryprog It's a real shame that not many other new and developing languages have something similar. (LOOKING AT YOU, JULIA!)
gfldex We put all lazyness into the language so there is nothing left for ourselves. 18:45
lizmat gfldex: there's that :-)
perryprog Speaking of nice things, this log site looks seriously nice. 18:46
18:46 mahafyi left
perryprog 🪵 18:46
gfldex Blogging is a lot of work. My posts are quite short and it's still a few hours per post.
lizmat perryprog: again, thank you, still needs some tweaks, but we're getting there 18:47
perryprog gfldex: not to mention having live links referencing everything for further details...
18:53 melezhik joined
melezhik . 18:53
Uploaded file: uploads.kiwiirc.com/files/0c4f1ab2.../image.png 18:54
mybfio reviews now support markdown
mybf.io/project/AWS::SNS::Notification/reviews
19:53 evalable6 left 20:43 melezhik43 joined 20:46 linkable6 joined 20:48 melezhik43 left 20:51 lucasb joined 20:54 mtj joined, linkable6 left 20:55 Manifest0 left, Manifest0 joined 21:12 berber44 left 21:55 linkable6 joined 22:00 jess left 22:01 jess joined 22:14 xinming_ left, xinming_ joined
RaycatWhoDat QQ: Can I access the intermediate value of a gather/take block? 22:18
22:20 holyghost_ joined 22:59 synthmeat left, thundergnat left
guifa Racyat: What do you mean by intermediate value? 23:21
Mondenkind m: my \x = gather take x; say x 23:23
camelia (\List_79007952 = (List_79007952))
23:27 synthmeat joined
guifa m: my \fib = gather { state $i = 0; once take 1; loop { take fib[$i] + (fib[$i++ - 1] // 0) } }; say fib[0..5] 23:31
camelia (1 1 2 3 5 8)
guifa but you'd need to set it outside, I don't believe there's a way to access it wholely within the gather block
23:33 _Xliff_ joined 23:36 Xliff_ left
guifa BTW, if you're going to do a fib style (peaking back at X elements), you could just use the sequence generator instead 23:47
23:53 Xliff joined 23:55 _Xliff_ left, evalable6 joined 23:58 Xliff left