🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). 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 6 September 2022.
00:00 reportable6 left
Nemokosch bisectable6: dd «  "$a b" c  ».raku 00:00
bisectable6 Nemokosch, Will bisect the whole range automagically because no endpoints were provided, hang tight
Nemokosch, Output on all releases: gist.github.com/a72a6ca51ac0580f6a...d6d92ae0b5
Nemokosch, Bisecting by output (old=2022.03 new=2022.04) because on both starting points the exit code is 1
Nemokosch, bisect log: gist.github.com/7ac89bcccd5f30dee5...32eb07db84 00:01
Nemokosch, (2022-03-23) github.com/rakudo/rakudo/commit/a5...ce933274f0
Nemokosch, Output on all releases and bisected commits: gist.github.com/fdf2b765c6e38bca2a...8ce6fc27bf
Nemokosch is an idiot 00:02
bisectable6: my $a = 42; dd «  "$a b" c  »
bisectable6 Nemokosch, Will bisect the whole range automagically because no endpoints were provided, hang tight
00:03 reportable6 joined
bisectable6 Nemokosch, ¦6c (66 commits): «("42 b", "c  ")␤» 00:03
Nemokosch, Nothing to bisect!
Nemokosch oof
that's a non-breaking space :clown: 00:05
00:12 deoac joined
Geth ¦ problem-solving: 2colours assigned to codesections Issue Handling of non-breaking spaces when splitting to words github.com/Raku/problem-solving/issues/357 00:24
01:02 Nemokosch left 01:30 Guest6998 joined 01:56 rf left 02:18 Sgeo_ joined 02:19 Sgeo left 02:57 grondilu joined
grondilu m: package foo { package bar { sub f is export {} }; sub f is export {} }; 02:57
camelia ===SORRY!=== Error while compiling <tmp>
A symbol '&f' has already been exported
at <tmp>:1
grondilu ^but its ::bar that exported it, not ::foo 02:58
m: package { sub f is export {} }; sub f is export {}
camelia ===SORRY!=== Error while compiling <tmp>
A symbol '&f' has already been exported
at <tmp>:1
grondilu m: package { multi f(Int) is export {} }; multi f(Str) is export {} 02:59
camelia ===SORRY!=== Error while compiling <tmp>
A symbol '&f' has already been exported
at <tmp>:1
grondilu even when they are different candidates, they conflict? 03:00
Geth doc: 0rir++ created pull request #4173:
Consolidate supply from statement-prefixes.pod6 to control.pod6.
03:15
03:27 Guest6998 left 04:00 razetime joined
Geth doc: 0rir++ created pull request #4174:
Consolidate gather from statement-prefixes.pod6 to control.pod6.
04:13
04:28 xinming left 04:29 xinming joined 04:48 MasterDuke joined 05:41 deoac left 05:45 grondilu left 05:47 grondilu joined 06:00 reportable6 left 06:01 reportable6 joined 06:52 grondilu left 06:55 abraxxa joined 06:57 grondilu joined 07:00 abraxxa left, abraxxa joined 08:00 linkable6 left, reportable6 left, coverable6 left, notable6 left, unicodable6 left, bloatable6 left, greppable6 left, statisfiable6 left, nativecallable6 left, committable6 left, sourceable6 left, shareable6 left, bisectable6 left, releasable6 left, benchable6 left, evalable6 left, quotable6 left, squashable6 left, shareable6 joined, bloatable6 joined, linkable6 joined, reportable6 joined, bisectable6 joined 08:01 notable6 joined, sourceable6 joined, quotable6 joined, greppable6 joined, statisfiable6 joined 08:02 evalable6 joined, unicodable6 joined, committable6 joined 08:03 benchable6 joined, nativecallable6 joined, coverable6 joined, releasable6 joined, squashable6 joined 08:27 Xliff joined 08:29 razetime left 08:44 Sgeo_ left 09:03 dakkar joined, alethkit left 09:06 xinming left 09:41 xinming joined 09:47 jpn joined 09:49 holyghost joined 10:01 holyghost left
Geth ecosystem/main: ac05b62bbc | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Continues removals
10:31
11:01 epony left 11:15 epony joined 12:00 reportable6 left 12:01 reportable6 joined 12:41 dakkar left 12:42 dakkar joined 13:16 Xliff left 13:17 Xliff joined 13:40 mcmillhj joined 14:40 tellable6 left, bisectable6 left, reportable6 left, statisfiable6 left, committable6 left, shareable6 left, quotable6 left, sourceable6 left, linkable6 left, unicodable6 left, releasable6 left 14:41 tellable6 joined, committable6 joined, bisectable6 joined 14:42 shareable6 joined, reportable6 joined, quotable6 joined, statisfiable6 joined, unicodable6 joined 14:43 linkable6 joined, sourceable6 joined, releasable6 joined
Geth doc: 0rir++ created pull request #4175:
Add glossary to HomePage.pod6
15:31
15:43 linkable6 left, evalable6 left 15:44 evalable6 joined 15:45 linkable6 joined 15:48 Xliff left 15:54 holyghost joined 16:02 mcmillhj left 16:05 holyghost left 17:05 statisfiable6 left, unicodable6 left, bloatable6 left, nativecallable6 left, greppable6 left, shareable6 left, quotable6 left, reportable6 left, sourceable6 left, linkable6 left, committable6 left, notable6 left, benchable6 left, coverable6 left, squashable6 left, tellable6 left, bisectable6 left, releasable6 left, evalable6 left 17:06 shareable6 joined, releasable6 joined, linkable6 joined, quotable6 joined, coverable6 joined 17:07 nativecallable6 joined, unicodable6 joined, tellable6 joined, notable6 joined, benchable6 joined, reportable6 joined, bisectable6 joined, bloatable6 joined, statisfiable6 joined 17:08 greppable6 joined, committable6 joined, sourceable6 joined, squashable6 joined, evalable6 joined 17:16 jaguart left 17:17 mscha joined
mscha My Advent of Code for the day: github.com/mscha/aoc/blob/master/aoc2022/aoc14 17:18
hobbified mine: github.com/arodland/Advent-of-Code.../master/14 -- nothing fancy or interesting (or particularly clean) this time, but I did it in one pass and it works. I got to use % in a regex for the second day in a row, so that's nice. 17:29
mscha m: class Foo { has $.bar; method Str { "[$!bar]" } }; my $f = Foo.new(:bar(123)); say "$f"; say $f; 17:30
camelia [123]
Foo.new(bar => 123)
mscha Why doesn't method gist default to self.Str?
If I had a nickel for every time I wrote method gist { self.Str } ...
17:37 dakkar left
drakonis oh, rakuast has been merged 17:44
what a time to be alive.
18:00 reportable6 left 18:02 reportable6 joined
Nemokosch not complete yet but maybe encouraging to participate 18:03
18:17 abraxxa left 18:23 perlbot left, simcop2387 left 18:34 perlbot joined 18:36 simcop2387 joined 18:46 sena_kun joined 19:08 squashable6 left 19:10 squashable6 joined 19:33 simcop2387 left, simcop2387 joined 19:40 Xliff joined
Xliff Hi ho. 19:40
Given: "sub a ($a, $b, $c, $d) { ... }" can RakuAST (in its current state) be used to replace any of the parameters on a()? 19:41
So that would look something like this: 19:50
"sub a ($a, $b, EVAL { c-param() }, $d) { ... }" 19:51
where c-param() is a function that generates the RakuAst necessary to make a the parameter node $c
19:54 simcop2387 left 19:56 simcop2387 joined 19:58 mscha left 20:02 perlbot left, perlbot joined 20:07 perlbot left 20:08 perlbot joined 20:28 sena_kun left 20:29 sena_kun joined 20:30 sena_kun left, perlbot left, perlbot joined 20:31 sena_kun joined 20:43 sena_kun left 20:46 sena_kun joined 20:55 melezhik joined
melezhik SmokeMachine: please see my PR, I suggested some fixes and improvements on CI pipeline for Red 20:56
20:59 melezhik left 21:16 melezhik joined 21:18 jpn left 21:22 melezhik left
SmokeMachine melezhik: I just merged that! Thank you! 21:22
tellable6 SmokeMachine, I'll pass your message to melezhik
21:42 jpn joined 21:48 jpn left 22:00 jpn joined 22:08 jpn left 22:10 jpn joined 22:23 sena_kun left 22:39 jpn left 22:48 jpn joined 23:01 grondilu_ joined
grondilu_ m: package Foo { our sub bar is export {}; &bar.wrap: -> { say "hi" } }; import Foo; bar; 23:01
camelia ( no output )
grondilu_ m: package Foo { our sub bar is export {}; &bar.wrap: -> { say "hi" } }; import Foo; our::bar;
camelia Could not find symbol '&bar' in 'GLOBAL::our'
in block <unit> at <tmp> line 1
grondilu_ m: package Foo { our sub bar is export {}; &bar.wrap: -> { say "hi" } }; import Foo; Foo::bar;
camelia hi
grondilu_ the wrapping is lost during exportation? 23:02
23:02 grondilu_ left
grondilu just realized he had a running session 23:02
package Foo { our sub bar is export { "bar" }; &bar.wrap: -> { say "({callsame})" } }; import Foo; say bar; say Foo::bar; 23:05
evalable6 bar
(bar)
True
Geth ecosystem/main: c1ef5cf325 | (Elizabeth Mattijsen)++ | META.list
Remove Readline by fooist, it lives on CPAN as well
grondilu m: package Foo { our sub bar is export { "bar" }; &bar.wrap: -> { "({callsame})" } }; import Foo; say bar; say Foo::bar;
camelia bar
(bar)
grondilu package Foo { our sub bar is export { "bar" }; CHECK &bar.wrap: -> { say "({callsame})" } }; import Foo; say bar; say Foo::bar; 23:08
evalable6 (bar)
True
(bar)
True
grondilu I guess without a phaser, the wrapping is done after the export, so it can't be seen after the import? 23:09
package Foo { our sub bar is export { "bar" }; INIT &bar.wrap: -> { "({callsame})" } }; import Foo; say bar; say Foo::bar; 23:10
evalable6 (bar)
(bar)
grondilu meh, that will do
Xliff Given: "sub a ($a, $b, $c, $d) { ... }" can RakuAST (in its current state) be used to replace any of the parameters on a()? 23:26
So that would look something like this:
"sub a ($a, $b, EVAL { c-param() }, $d) { ... }"
where c-param() is a function that generates the RakuAst necessary to make a the parameter node $c
23:36 Sgeo joined 23:41 jpn left 23:44 jaguart joined, jaguart left 23:45 jaguart joined
tonyo are you looking for macros? 23:50
23:57 jpn joined