🦋 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.
00:00 reportable6 left 00:02 reportable6 joined 02:21 squashable6 left, notable6 left, evalable6 left, coverable6 left, releasable6 left, linkable6 left, quotable6 left, benchable6 left, tellable6 left, bisectable6 left, reportable6 left, statisfiable6 left, nativecallable6 left, unicodable6 left, shareable6 left, sourceable6 left, greppable6 left, bloatable6 left, committable6 left, quotable6 joined, bisectable6 joined 02:22 nativecallable6 joined, sourceable6 joined, statisfiable6 joined, committable6 joined, reportable6 joined 02:23 evalable6 joined, notable6 joined, shareable6 joined, greppable6 joined, coverable6 joined, unicodable6 joined 02:24 squashable6 joined, benchable6 joined, releasable6 joined, bloatable6 joined, tellable6 joined, linkable6 joined 03:50 kjp left 03:53 kjp joined 04:55 jgaz left 06:00 reportable6 left, reportable6 joined 08:59 sena_kun joined 09:57 sena_kun left 10:24 squashable6 left 10:26 squashable6 joined
Geth rakudo/main: bfc5af695e | (Elizabeth Mattijsen)++ | 2 files
Make reverse/unlink/rmdir complain when called w/o arguments

Note that this does not affect them being called with an empty array. That's fine.
10:30
rakudo/main: c1f7e4d488 | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
RakuAST: add sorry for use of say/put/print w/o args

This is a reduced version of the logic that exists in the legacy grammar, which think we shouldn't copy over to the Raku grammar.
The reason I'm adding this check for say/put/print, is that they would be the most common cases, **and** there is a spectest for at last a bare "put". But frankly, I'd rather get rid of this all.
11:33
lizmat +1
lizmat so now at 918
12:00 reportable6 left 12:01 reportable6 joined 13:21 NemokoschKiwi joined
nemokosch that's quite a lot 13:22
github.com/Raku/doc-website/discus...nt-6708598 could be of interest 13:23
13:23 NemokoschKiwi left
ugexe oh i didn't realize we did stuff like allow `unlink(@multiple-files` which A) isnt immediately clear what happens when one of the files fails to unlink, as well as it returns an array(!) 13:29
also seems odd that it doesn't return Array[IO::Path], but instead Array[IO::Path|Str] 13:31
its been like this since forever though 13:32
m: say unlink("asdfasfasdf") 13:34
camelia [asdfasfasdf]
ugexe eh, that isn't useful 13:35
it should fail, return false, return empty, anything but return the file it definitely did not delete
16:11 bisectable6 left, greppable6 left, evalable6 left, sourceable6 left, releasable6 left, benchable6 left, unicodable6 left, tellable6 left, coverable6 left, statisfiable6 left, squashable6 left, notable6 left, nativecallable6 left, committable6 left, shareable6 left, bloatable6 left, reportable6 left, linkable6 left, quotable6 left, squashable6 joined, committable6 joined, bisectable6 joined 16:12 releasable6 joined, reportable6 joined, quotable6 joined, linkable6 joined, coverable6 joined, bloatable6 joined, sourceable6 joined 16:13 nativecallable6 joined, notable6 joined, tellable6 joined, shareable6 joined, benchable6 joined, evalable6 joined, greppable6 joined 16:14 unicodable6 joined, statisfiable6 joined 16:26 jgaz joined
Geth rakudo/lizmat-WHERE-WHICH-WHO: 991678cd4f | (Elizabeth Mattijsen)++ | 10 files
Add sub versions of WHERE WHICH WHO

They seem to have been forgotten, but are actually mentioned in some error messages. Feels they should be added for completeness sake. Also adapts tests accordingly.
17:30
rakudo/main: dbde821f99 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 10 files
Add sub versions of WHERE WHICH WHO (#5336)

They seem to have been forgotten, but are actually mentioned in some error messages. Feels they should be added for completeness sake. Also adapts tests accordingly.
17:49 evalable6 left 17:50 evalable6 joined 18:00 reportable6 left 18:03 reportable6 joined
Geth rakudo/main: 7bc98ec415 | (Elizabeth Mattijsen)++ | 2 files
Add HOW/VAR/WHAT/WHO as Mu methods

For introspection, and to allow them to be called with foo."$bar"() syntax. Also adapt one test that now also suggests VAR.
18:14
19:10 sena_kun joined 19:12 codesections1 joined 19:21 codesections1 left
lizmat I'm getting *really* confused now :-) 21:50
m: dd Rat.new(-1,0) # all ok, also under RakuAST 21:51
camelia <-1/0>
lizmat m: dd Rat.new(-1,0).Num # -Inf with legacy, Inf with RakuAST
camelia -Inf
lizmat m: use nqp; dd nqp::div_In(-1,0) # ok under legacy *and* RakuAST 21:53
camelia -Inf
lizmat I've adapted Rational.Num to show the values of $!numerator and $!denominator are correct and they are 21:54
yet, in that case nqp::div_In(-1,0) returns Inf rather than -Inf under RakuAST
fixing this is +2 on the number of passing test files for RakuAST 21:55
nine ^^ ideas ? I'm out apart from adapting Rational.Num to check specifically for $!denominator == 0 and then do "manual" checking rather than calling nqp::div_In 21:58
sleep& 21:59
22:12 linkable6 left, evalable6 left 22:14 linkable6 joined 22:15 evalable6 joined 22:28 sena_kun left
Geth rakudo/ugexe/disable-default-curis: c43758f69b | (Nick Logan)++ | src/core.c/CompUnit/RepositoryRegistry.pm6
Allow default CURIs to be disabled

Previously there was no convenient way to disable the e.g. site, vendor, and core repositories. But when developing with application specific module install locations one might not want for modules to be used outside of that location. This add a new environment variables, RAKU_DISABLE_DEFAULT_CURIS, which can be set to anything to prevent the default repositories from being added to the repo chain itself. Note that it does still register those repositories with the registry.
23:22
rakudo: ugexe++ created pull request #5338:
Allow default CURIs to be disabled
23:24
23:44 linkable6 left, evalable6 left 23:46 linkable6 joined 23:47 evalable6 joined