🦋 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.
00:02 reportable6 left 00:08 evalable6 joined 00:46 linkable6 joined 02:33 Xliff left 04:06 reportable6 joined 05:31 releasable6 left, bloatable6 left, linkable6 left, notable6 left, greppable6 left, coverable6 left, nativecallable6 left, benchable6 left, squashable6 left, reportable6 left, tellable6 left, committable6 left, unicodable6 left, sourceable6 left, bisectable6 left, quotable6 left, shareable6 left, statisfiable6 left, evalable6 left, reportable6 joined, quotable6 joined 05:32 coverable6 joined, statisfiable6 joined 05:33 greppable6 joined, nativecallable6 joined, shareable6 joined, sourceable6 joined, committable6 joined, notable6 joined, bloatable6 joined, unicodable6 joined 05:34 bisectable6 joined, evalable6 joined 06:02 reportable6 left 06:05 reportable6 joined 06:32 squashable6 joined 06:33 releasable6 joined
gfldex m: for 1 { last 42; } 06:41
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling last(Int) will never work with any of these multi signatures:
( --> Nil)
(Label:D \x --> Nil)
at <tmp>:1
------> 3for 1 { 7⏏5last 42; }
gfldex is this LTA?
moon-child m: do for 1 { last 42; } 06:42
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling last(Int) will never work with any of these multi signatures:
( --> Nil)
(Label:D \x --> Nil)
at <tmp>:1
------> 3do for 1 { 7⏏5last 42; }
gfldex It's a v6.e feature. Could be quite confusing for a beginner. 06:43
(This may be a big question.)
07:31 linkable6 joined 07:34 tellable6 joined, benchable6 joined 07:49 discord-raku-bot left 07:50 discord-raku-bot joined, discord-raku-bot left, discord-raku-bot joined
nine People ought to get used to declaring the language version early on. 08:27
09:53 frost joined, frost left 09:54 frost joined
gfldex nine: exactly my point. We could tell them to do so in a proper error message. 10:17
nine Can we? 10:20
gfldex We still have a few features in v6.c left that throw NYI. Instead we could throw X::ImpelemtendIn.new('v6.e') . 10:22
[Coke] My brain think that sounds like too much magic, but it is only 6am or so here. 10:23
so no cogent arguments just yet.
also, I apparently need to update my rakudo, because that gives the same error in 6.e here.
nine gfldex: that requires adding a multi candidate that would throw. This multi candidate would then show up in introspection as well. Question is: is this better? 10:40
MasterDuke add `is implementation-detail`? 11:59
12:02 reportable6 left 12:41 frost left 12:59 frost joined, frost left 13:04 reportable6 joined 13:08 notna joined 13:16 Xliff joined 13:59 notna left 14:54 lizmat_ joined, lizmat_ left, lizmat_ joined 14:58 lizmat left, lizmat_ left, lizmat joined 14:59 squashable6 left 16:07 squashable6 joined 16:16 smarton left, djinni` left 16:17 smarton joined 16:19 djinni` joined 16:20 smarton left, smarton joined 16:23 smarton left 18:02 reportable6 left 18:38 Xliff left 19:03 reportable6 joined 20:03 evalable6 left, linkable6 left 20:04 evalable6 joined 20:06 linkable6 joined
gfldex nine: I think it could be done without a multi candidate. All we want is a better error message and the one we got right now is a SORRY. 20:07
nine how? 20:08
gfldex We could special case the error message itself in 6.c and 6.d but not 6.e. 20:10
23:16 evalable6 left, linkable6 left 23:18 evalable6 joined