🦋 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. |
|||
00:08
reportable6 left
00:10
reportable6 joined
00:34
Voldenet left
00:40
lichtkind left
01:03
[Coke] left
01:04
[Coke] joined
01:34
Voldenet joined
02:34
greppable6 left,
committable6 left,
notable6 left,
nativecallable6 left,
benchable6 left,
reportable6 left,
sourceable6 left,
bisectable6 left,
bloatable6 left,
linkable6 left,
coverable6 left,
evalable6 left,
releasable6 left,
statisfiable6 left,
quotable6 left
02:35
releasable6 joined,
greppable6 joined,
evalable6 joined,
quotable6 joined,
statisfiable6 joined
02:36
nativecallable6 joined,
notable6 joined,
coverable6 joined,
bloatable6 joined,
benchable6 joined,
linkable6 joined,
committable6 joined
02:37
bisectable6 joined,
reportable6 joined,
sourceable6 joined
03:37
sourceable6 left,
greppable6 left,
tellable6 left,
shareable6 left,
coverable6 left,
reportable6 left,
unicodable6 left,
bisectable6 left,
statisfiable6 left,
committable6 left,
linkable6 left,
nativecallable6 left,
bloatable6 left,
releasable6 left,
evalable6 left,
quotable6 left,
benchable6 left,
notable6 left,
quotable6 joined
03:38
greppable6 joined,
linkable6 joined,
nativecallable6 joined,
notable6 joined
03:39
statisfiable6 joined,
coverable6 joined,
shareable6 joined,
releasable6 joined,
bisectable6 joined,
reportable6 joined
03:40
tellable6 joined,
sourceable6 joined,
committable6 joined,
unicodable6 joined,
benchable6 joined,
evalable6 joined,
bloatable6 joined
03:52
p6steve left
03:54
p6steve joined
04:10
[Coke] left
04:11
[Coke] joined
04:15
[Coke] left
04:21
[Coke] joined
04:49
vrurg_ joined,
vrurg left
05:12
[Coke] left
05:13
[Coke] joined
05:20
[Coke] left
05:31
[Coke] joined
06:02
[Coke] left,
[Coke] joined
06:06
reportable6 left
06:07
reportable6 joined
06:14
Furor joined
06:17
Colere left,
Furor is now known as Colere
07:17
linkable6 left,
greppable6 left,
bisectable6 left,
unicodable6 left,
sourceable6 left,
evalable6 left,
committable6 left,
benchable6 left,
nativecallable6 left,
quotable6 left,
statisfiable6 left,
notable6 left,
bloatable6 left,
reportable6 left,
releasable6 left,
coverable6 left,
shareable6 left,
tellable6 left,
sourceable6 joined,
statisfiable6 joined
07:18
greppable6 joined,
tellable6 joined,
releasable6 joined,
shareable6 joined,
benchable6 joined,
evalable6 joined,
unicodable6 joined,
linkable6 joined
07:19
bloatable6 joined,
committable6 joined,
quotable6 joined,
notable6 joined
07:20
nativecallable6 joined,
bisectable6 joined,
coverable6 joined,
reportable6 joined
07:24
[Coke] left,
[Coke] joined
07:27
frost joined
07:36
Da-ding joined
07:55
discord-raku-bot left
07:56
discord-raku-bot joined
07:58
[Coke] left
07:59
[Coke] joined
08:04
discord-raku-bot left,
discord-raku-bot joined
08:07
[Coke] left
08:08
[Coke] joined
08:16
dustinm`_ left
08:21
dustinm` joined
08:25
randm left,
randm joined
08:34
Nemokosch joined
|
|||
Nemokosch | tellable please | 08:35 | |
tellable6 | 2022-06-09T10:57:03Z #raku <SmokeMachine> Nemokosch: ☝️ | ||
2022-06-11T19:11:12Z #raku <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 | |||
Nemokosch | okay okay | ||
08:37
jjido joined
08:38
frost left
08:43
frost joined
08:50
duplex_line joined
08:57
Nemokosch left
09:05
Sgeo left
09:08
sena_kun joined
09:35
gugod joined
09:41
slbtty joined
09:42
slbtty left
09:50
Kaipii left,
Kaipii joined
09:54
hythm left
10:08
[Coke] left
10:12
jjido left
10:15
[Coke] joined
10:18
lichtkind joined
10:32
Da-ding left
10:37
[Coke] left,
[Coke] joined
10:45
p6steve left
10:57
frost left
11:09
jjido joined
11:13
frost joined
11:38
frost left
11:39
jjido left
11:40
duplex_line left
11:41
duplex_line joined,
[Coke] left
11:42
frost joined
11:46
[Coke] joined
11:52
jjido joined
11:55
jjido left
12:08
reportable6 left
12:11
reportable6 joined
12:18
[Coke] left,
[Coke] joined
12:35
cognominal joined
12:36
cognominal left
12:46
frost left
12:47
frost joined
|
|||
stevied | anyone having problems getting the grammar preview working in comma IDE? I have the paid version. | 12:58 | |
13:27
Sankalp- joined,
Sankalp left,
Sankalp- is now known as Sankalp
13:29
p6steve joined
|
|||
p6steve | m: role A {}; multi postcircumfix:<[ ]>(A:D $a, Int $p) {say 42}; my $a = A.new; $a[2]; | 13:37 | |
camelia | 42 | ||
p6steve | works fine as a standalone script Welcome to Rakudo™ v2022.04. | 13:38 | |
BUT errors with Error while compiling /root/raku-Dan-Polars/bin/./synopsis-dan-polars.raku | 13:39 | ||
Index out of range. Is: 2, should be in 0..0 | |||
this is alongside other custom postcircumfix:<[ ]> errors such as <<Type List does not support associative indexing.>> | 13:41 | ||
(on the second one I am working with a cascade like this a[0]<a> that has been working fine for weeks | 13:42 | ||
) | |||
gfldex | The first multi candidate that fully matches a signature will win. | 13:43 | |
p6steve | the errors happen in about a 1000 line module ... is it possible this is a rakudo bug? | ||
gfldex | so you either have to define your own proto, or overload AT-POS and friends. | 13:44 | |
Working as intended. | |||
here is a complete list of what you might want to implement: docs.raku.org/language/subscripts#...bscripting | 13:45 | ||
13:45
duplex_line left,
duplex_line joined
|
|||
gfldex | We want the following to DWIM, so postcircumfix:<[ ]> must not care about the type. | 13:47 | |
m: postcircumfix:<[ ]> | |||
camelia | ===SORRY!=== Error while compiling <tmp> Calling postcircumfix:<[ ]>() will never work with signature of the proto ($, |) at <tmp>:1 ------> <BOL>⏏postcircumfix:<[ ]> |
||
gfldex | m: my $a = 42; say $a[0]; | ||
camelia | 42 | ||
p6steve | gfldex: yes, I have been successfully doing the positional AT-POS and so on for some months - up to now I have had working (i) | 13:48 | |
(i) class DataFrame does Positional { method AT-POS ... } for this df[1;2] (ie 2d slicing) | 13:49 | ||
(ii) multi postcircumfix:<[ ]>( DataFrame:D $df, Int $p ) is export {...} for this df[3] (return list of row objects) | 13:50 | ||
these have been working side by side very nicely ... but now seems that (ii) is not winning | 13:51 | ||
gfldex | I'm building Rakudo HEAD right now. | 13:53 | |
p6steve | gfldex: I will have another look at proto ... but this will kill (i), right? | ||
gfldex | yes, unless you also implement the missing multi candidates by hand. | 13:54 | |
p6steve | gfldex: ok thanks - that gives me enough steer to get past this! I suspect that I have been relying on unreliable non-feature | 13:56 | |
gfldex | You small example works on HEAD. So there may be some other issue somewhere. --ll-exception can provide details. | 13:57 | |
13:58
duplex_line left
13:59
[Coke] left
|
|||
p6steve | gist.github.com/p6steve/a72382128f...0f4bf44c2f | 14:02 | |
gfldex: does'nt make much sense to me ... is there a way to kist all the candidates for pcf:<[ ]> ?? | 14:03 | ||
14:06
[Coke] joined
|
|||
Anton Antonov | I do. For me, the few times I tried the grammar preview, it worked for small grammars and, say, 50% of the time. | 14:14 | |
gfldex | p6steve: define a local proto | 14:29 | |
stevied | It was very buggy when I started using it a few months ago. Then a newer version seemed to fix things for the most part. But now I can't get it to run at all. Very odd. | 14:31 | |
14:31
frost left
14:41
[Coke] left
14:42
[Coke] joined
14:52
jjido joined
|
|||
p6steve | I just found an issue that shuld be closed here github.com/rakudo/rakudo/issues/4722 | 15:27 | |
15:42
jjido left
16:04
djerius left
16:06
djerius joined
|
|||
uzl[m] | <uzl[m]> "As per 2022.06, both `max 0..." <- codesections: Do you mind clarifying this question I have about this (github.com/rakudo/rakudo/commit/175e716f) commit's header? | 16:33 | |
m: class A { has $.attr is rw; }; my $a = A.new(:2attr); $a.attr **= 5; say $a; | 16:58 | ||
camelia | A.new(attr => 32) | ||
uzl[m] | m: class A { has $!attr; method attr is rw { $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a; | ||
camelia | A.new | ||
uzl[m] | m: class A { has $!attr; method attr { return-rw $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a; | 17:00 | |
camelia | A.new | ||
uzl[m] | m: class A { has $!attr = 2; method attr is rw { $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a; | 17:02 | |
camelia | A.new | ||
uzl[m] | m: class A { has $!attr = 2; method attr is rw { $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a.attr; | ||
camelia | 32 | ||
17:02
lichtkind_ joined
|
|||
uzl[m] | m: class A { has $!attr; method attr { return-rw $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a.attr; | 17:02 | |
camelia | 1 | ||
17:03
lichtkind left
|
|||
uzl[m] | m: class A { has $!attr = 2; method attr { return-rw $!attr } }; my $a = A.new(:2attr); $a.attr **= 5; say $a.attr; | 17:03 | |
camelia | 32 | ||
uzl[m] | Is it safe to assume to assume that `class A { has $.attr is rw; };`, `class A { has $!attr; method attr is rw { $!attr } };` and `class A { has $!attr; method attr { return-rw $!attr } };` are all equivalent? I know the first two are according to the docs but what about the third? | 17:04 | |
Too many assumes haha | 17:05 | ||
gfldex | uzl[m]: not quite, return-rw will throw CX::return | 17:08 | |
uzl[m] | gfldex: I see! An example showcasing this exception? | 17:14 | |
gfldex | uzl[m]: that's how return, last and friends work. They throw a control exception under the hood. Thusly, the compiler has to add a CONTROL block what hinders fastness. | 17:18 | |
17:37
Sgeo joined
17:38
[Coke] left
17:49
[Coke] joined
18:07
reportable6 left
18:09
reportable6 joined
18:21
andinus` left,
andinus joined
19:09
timo left
|
|||
Geth | raku.org: ash++ created pull request #170: Link the Raku Conf 2022 |
19:25 | |
19:25
sena_kun left
|
|||
Geth | raku.org: 5365c46ccb | (Andrew Shitov)++ (committed using GitHub Web editor) | source/index.html Link the Raku Conf 2022 (#170) * Link the Raku Conf 2022 * Link the Raku Conf 2022 |
19:26 | |
19:27
sena_kun joined
19:42
jjido joined
|
|||
sienet_ja_LSD[m] | hope there will be numerous classes and tutorials in the conf | 19:45 | |
19:46
MitarashiDango[m joined
|
|||
MitarashiDango[m | Noticed that rakuenv wasn't on the AUR so tried my hand at putting together my first package with it: aur.archlinux.org/packages/rakuenv-git | 19:50 | |
20:46
evalable6 left,
linkable6 left
20:48
linkable6 joined,
evalable6 joined
21:48
nativecallable6 left,
benchable6 left,
bloatable6 left,
quotable6 left,
releasable6 left,
shareable6 left,
reportable6 left,
committable6 left,
tellable6 left,
sourceable6 left,
bisectable6 left,
statisfiable6 left,
linkable6 left,
notable6 left,
evalable6 left,
coverable6 left,
greppable6 left,
unicodable6 left
21:49
tellable6 joined,
evalable6 joined,
benchable6 joined,
quotable6 joined,
sourceable6 joined,
greppable6 joined,
coverable6 joined,
committable6 joined,
bisectable6 joined
21:50
statisfiable6 joined,
releasable6 joined,
notable6 joined
21:51
nativecallable6 joined,
shareable6 joined,
reportable6 joined,
unicodable6 joined,
linkable6 joined,
bloatable6 joined
21:53
Kaipii left,
Kaipii joined
21:59
n1to joined,
n1to left
22:02
jjido left
22:06
samcv_ joined,
spacekookie_ joined
22:14
crystalfrost[m] left,
spacekookie left,
kybr left,
samcv left,
corwin left
22:22
kybr joined,
corwin joined
22:24
crystalfrost[m] joined
23:02
Kaipii left
23:54
timo joined
23:57
Kaiepi joined
23:58
[Coke] left,
[Coke] joined,
lichtkind_ left
|