🦋 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.
gfldex Is there a way to attach a sub to a proto so to have a bunch of subs participate in the same MMD but have different names? 07:14
I guess I can mixin a role with method name. 07:25
solved by using my own brain (for a change) gist.github.com/gfldex/939d6b4f7a3...aa2920842c 07:36
gfldex The trait is called on the proto, not the multi candidates. :-| 08:10
Nemokosch pretty sure multi dispatch candidates are not first-class subroutines 08:46
lizmat a trait is just a sub that gets called at compile time 09:08
gfldex: I think having a trait on a candidate, would call that trait on that candidate 09:09
if not, you could try something like
BEGIN trait_mod:<foo>(&candidate, params)
nine Multi dispatch candidates are very much first-class subroutines. The only difference really is that instead of getting referenced by their own lexicals they get added to the proto's candidates list. 09:21
Nemokosch after a while you lose track where you got certain information from but I can only say, I'm pretty sure I have read or overheard that in exactly the kind of regards traits would require, multi candidates do not stand on their own 09:37
Geth rakudo/main: 1028ceb62a | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Raku.pm6
RakuAST: make Var::PositionalCapture rakufy better
09:55
rakudo/main: 1ab2e3e73a | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: fix deparsing of =config
nine make && TEST_JOBS=20 RAKUDO_RAKUAST=1 make spectest | grep '\. ok\b' | LC_ALL=C sort | tee $(git describe).pure.tests | wc -l 11:11
Geth rakudo/main: ce951f1de1 | (Patrick Böker)++ | src/Raku/ast/expressions.rakumod
Implement colonpairs on Prefixes

Also reorder `self.IMPL-ADD-COLONPAIRS-TO-OP` in
  `RAST::Postcircumfix::HashIndex.IMPL-POSTFIX-QAST` to match the other
places it's called.
12:14
rakudo/main: 9702d82d15 | niner++ (committed using GitHub Web editor) | src/Raku/ast/expressions.rakumod
Merge pull request #5271 from patrickbkr/rast

Implement colonpairs on Prefixes
rakudo/rakuast-phase-cleanup: 9 commits pushed by (Jonathan Worthington)++ 12:23
rakudo: Leont++ created pull request #5272:
Add X::Temporal::OutOfRange
12:30
Geth rakudo/rakuast-phase-cleanup: e69dbef153 | (Jonathan Worthington)++ | 12 files
Eliminate RakuAST::Attaching

Now we attach at the appropriate phase instead, be it parse, begin, or check (although nothing yet needs to do it at check time). This also means that we only ever do it once.
14:09
rakudo/rakuast-phase-cleanup: f7501f09b6 | (Jonathan Worthington)++ | 4 files
Re-work implicit lookups

They are now treated as if they are like children of a node that get their parse time and begin time ahead of the parse time of their owner.
Geth rakudo/rakuast-phase-cleanup: cc3aa4320b | (Jonathan Worthington)++ | 13 files
Eliminate resolve-with

Resolutions are now performed at the appropriate phase (parse, begin, or check).
15:08
rakudo: patrickbkr++ created pull request #5273:
Make `$(;)` return an empty list as it should be
rakudo/main: dd475ed094 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: =data is always verbatim
15:23
rakudo: Leont++ created pull request #5274:
Implement Uni.encode
15:29
Geth rakudo: Leont++ created pull request #5275:
Make "string" but False eqv "string" but False
16:03
|Tux| Rakudo v2023.05-21-gdd475ed09 (v6.d) on MoarVM 2023.05-6-gb039b913b
csv-ip5xs0.844 - 0.853
csv-ip5xs-205.729 - 5.800
csv-parser3.598 - 4.000
csv-test-xs-200.382 - 0.582
test6.292 - 6.849
test-t1.520 - 1.673
test-t --race1.019 - 1.059
test-t-2020.181 - 20.669
test-t-20 --race6.907 - 7.146
16:48