🦋 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: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
gfldex Is there a reason why Label does not expose $!line and $!file? In .gist they are used and as such not really hidden. 10:24
lizmat I don't see a reason why they could not be exposed, fwiw 10:32
Files=1351, Tests=117115, 296 wallclock secs (35.16 usr 9.54 sys + 4082.92 cusr 328.76 csys = 4456.38 CPU)
Geth rakudo: gfldex++ created pull request #4804:
expose $!file and $!line in Label
11:55
|Tux| Rakudo v2022.02-82-g8fb0a66dc (v6.d) on MoarVM 2022.02-7-g2b96d1828
csv-ip5xs0.782 - 0.805
csv-ip5xs-205.043 - 5.259
csv-parser3.958 - 4.126
csv-test-xs-200.426 - 0.432
test6.510 - 6.563
test-t1.588 - 1.590
test-t --race0.944 - 0.970
test-t-2024.271 - 24.445
test-t-20 --race7.599 - 7.600
15:04
[Coke] is there a way to get a list of modules you installed specifically as opposed to all the ones that are installed? 16:16
Would simplify my "force-update rakudo install" script (right now getting a lot of "All candidates are currently installed" at the end since I already installed them as deps of something else) 16:17
It's in no way necessary for what I'm doing, but would be nice to have, I think 16:19
Altai-man lizmat, new comma complete just got released, not sure if fits for the weekly. 16:31
twitter.com/koto_san_kana/status/1...1067457545 <- 16:42
[Coke] notable6: twitter.com/koto_san_kana/status/1...1067457545 from altai-man 16:59
notable6 [Coke], I cannot recognize this command. See wiki for some examples: github.com/Raku/whateverable/wiki/Notable
[Coke] notable6: weekly twitter.com/koto_san_kana/status/1...1067457545 from altai-man
notable6 [Coke], Noted! (weekly)
Altai-man [Coke], thanks! 17:00
ugexe [Coke]: if you feed zef the list of all modules at once you shouldnt get that message 17:17
assuming it can all fit in however many characters are allowed for a single command
zef install Foo Bar Baz ABC EFG HIJ 17:18
or write out your list of installed modules to a META6.json with no modules but all the depends listed (which you can then `zef install .`) 17:20
its also better to do `zef install Foo Bar Baz` instead of `zef install Foo && zef install Bar && zef install Baz` because the former can build a more precise dependency graph, use additional parallelism, and have less overhead in general 17:23
boths ways work, just zef can take advantage of the additional context when you provide them all in one command 17:25
[Coke] ugexe: fair point, I was doing them one at a time 17:27
worth updating just for the ||ism
ugexe testing itself isn't done by default in parallel yet (although it can be with e.g. --test-degree=42) because module loading isn't thread safe, but fetching and extracting are (and in the future testing will be as well) 17:29
ugexe while there is an issue testing in parallel it actually wouldn't be because of the thread safety of module loading 18:16
mispoke on that point
Xliff Has there been any thought as to being able to introspect t he actual AST of defined objects with RakuAST? 18:51
sub a ($a) { $a = 42 }; &a.ast <- returns RakuAST that would create &a 18:53
Of course, the returned AST would be immutable. 18:54
Geth rakudo: 028828ac88 | (Elizabeth Mattijsen)++ | src/core.c/Label.pm6
Expose Label.file/line

To aid introspection and allow self referencing warnings/error messages, expose $!file and $!line. Make Label.Str useful. gfldex++ for the impetus.
23:32