🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
lizmat notable6: weekly 10:56
notable6 lizmat, 1 note: 2022-07-17T20:18:12Z <thundergnat>: As of today Rosettacode has 1500 Raku entries: See rosettacode.org/wiki/Rosetta_Code/.../Full_list and rosettacode.org/wiki/Category:Raku
lizmat notable6: weekly reset 10:57
notable6 lizmat, Moved existing notes to “weekly_2022-07-18T10:57:26Z”
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/07/18/2022-29-hot/ 11:08
Geth rakudo/lizmat-under-version-control: 556e0733a3 | (Elizabeth Mattijsen)++ | 2 files
Add IO::Path.under-version-control method in 6.e

Returns True if the invocant appears to be under version control. This is currently defined as it having a sibling ".git" directory, or any of its parents having a ".git" directory.
Can be handy for CLI scripts before they do massive changes on a file system: being under version control provides a bigger chance of reversibility if something went wrong.
16:33
rakudo: lizmat++ created pull request #4987:
Add IO::Path.under-version-control method in 6.e
16:34
japhb lizmat: Feels somewhat module-ish, as features go. 16:36
lizmat I'll make it a module, for sure :-)
but also feels like a nice to have, now that things like git are ubiquitous 16:37
note the name doesn't mention git: other version control systems could be added later
japhb Also, may (or may not) be worth considering expanding to an inclusive list of such ... Debian's `etckeeper` has the most unbiased list of VCS that I know of.
Yup 16:38
japhb loves etckeeper -- don't need it often, but when I do, SO NICE.
lizmat just seeing if people like it enough as it is, other functionality could be added later
japhb nodnod
lizmat going to use it for rak's --replace-files option 16:39
japhb What is rak? I've head my head down in other projects for a few days ....
lizmat raku.land/zef:lizmat/App::Rak 16:41
also: conf.raku.org/talk/174 16:43
CDD at work!
japhb Ah! :-) 16:46
Kaiepi i'm really confused at how to implement a control exception 19:38
because i have a CONTROL { $!($obj) if nqp::istype_nd($!, CX::Groan) }
in the wrapper for a punned dispatch, but it's complaining that there's no handler for whatever reason?
(from nqp) 19:39
SmokeMachine should it be inside a default? 20:08
Kaiepi idt i have access to default here
Kaiepi - 21:06