🦋 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 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 8 June 2022.
Nemokosch uzl: I pointed that out at some point for sure 07:46
github.com/Raku/problem-solving/issues/313 07:50
Not only was `0 min False` and `False min 0` different but even `0 min 2 min False` and `0 min False min False` 07:51
The latter might have been confirmed as a bug and maybe it's fixed now 07:53
hythm guifa: I see, thanks 10:14
tellable6 2022-06-10T22:30:31Z #raku <guifa> hythm: history, mainly
2022-06-10T22:31:19Z #raku <guifa> hythm: Perl used grep way back in the day, and so Raku (originally conceived as a future version of Perl) similarly used it
gfldex hythm: grep stands for: globally search for a regular expression and print matching lines 12:20
moon-child g/re/p: (g)lobal (r)egular (e)xpression (p)rint 12:21
Anton Antonov Interesting! 12:28
ToddAndMargo Hi All.  I am over on docs.raku.org/type/Str and I am drawing a blank.   I would like to be able to read and write to a single character index in a string.  For example `my $s = "abxdef"; $s[2]="c"`;  How do I do this? (I need the exact index, not a regex) 12:32
Nemokosch I wonder whose idea it was that strings cannot be indexed... 12:34
however, what you want to do in particular, is not nice either way
mutable strings are way out of fashion
ToddAndMargo can I convert a string into a Buf and then back afterwards? 12:35
sienet_ja_LSD[m] this is it docs.raku.org/routine/substr-rw 12:36
Nemokosch if you want mutability on a per-index base, you'd be better of just using an Array
ToddAndMargo substr-rw will work.  Thank you! 12:37
thundergnat_ ToddAndMargo: or perhaps String::Splice? raku.land/github:thundergnat/String::Splice 12:41
ToddAndMargo that is interesting.  I am writing it down for the future! 12:42
patrickb I fail to find the documentation for the method invocant specifier (or what else it's called), the `method bla(Invocant:D:)` thing in method signatures. Can someone point me to the right place? 16:16
[Coke] It's "invocant marker", I see it on type/Signature but not linked to 16:34
(and with no actual documentation, it's just referenced) 16:35
patrickb Ouch. That's one of the things that will definitely have to be in the "Signature quick intro" we might link to from all signatures in the docs... 16:42
Thanks!
uzl[m] <discord-raku-bot> "<Nemokosch#9980> uzl: I pointed..." <- As per 2022.06, both `max 0, False` and `0 max False` return the same value, namely `0`. Where I am confused is with the commit's header "Make &[max] and &[min] return RHS for ties". If `0 max False` returns 0 (as expected), then it's returning its LHS, not its RHS. 16:46
Nemokosch Valid 17:05
melezhik weekly: www.reddit.com/r/rakulang/comments...la_alpine/ 17:19
notable6 melezhik, Noted! (weekly)
melezhik I am going add alpine package support for Raku modules into SparkyCI soon, using this approach 17:21
so community would enjoy blazingly  fast installation of Raku modules under alpine 17:22
Anton Antonov <@779471841270038528> Great! 17:26
SmokeMachine is a point release going to be done? 2022.06 is breaking Red, right? 17:55
Nemokosch Why is it? 19:07
SmokeMachine Nemokosch: a bug on 2022.06, lizmat gave me a great suggestion on making Red die on that version... so, on my new release this will happen on 2022.06: usercontent.irccloud-cdn.com/file/.../image.png 19:11
tellable6 SmokeMachine, I'll pass your message to Nemokosch