🦋 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:07 reportable6 left 00:09 reportable6 joined 01:40 linkable6 left, evalable6 left 01:41 evalable6 joined 01:42 linkable6 joined 01:57 frost joined 03:27 epony joined 04:02 squashable6 left 04:04 squashable6 joined 05:07 bloatable6 left, quotable6 left, bisectable6 left, nativecallable6 left, benchable6 left, committable6 left, linkable6 left, tellable6 left, notable6 left, shareable6 left, unicodable6 left, coverable6 left, greppable6 left, reportable6 left, sourceable6 left, squashable6 left, evalable6 left, statisfiable6 left, releasable6 left, releasable6 joined, quotable6 joined, notable6 joined 05:08 shareable6 joined, greppable6 joined, squashable6 joined, unicodable6 joined, bloatable6 joined 05:09 tellable6 joined, evalable6 joined, sourceable6 joined, bisectable6 joined, statisfiable6 joined, nativecallable6 joined, linkable6 joined, committable6 joined, reportable6 joined 05:10 coverable6 joined, benchable6 joined 06:07 reportable6 left, reportable6 joined 06:45 nine left, nine joined 07:42 sena_kun joined 08:59 frost left 09:30 sena_kun left 09:33 sena_kun joined, sena_kun left 10:05 sena_kun joined
lizmat m: my $a := [1,2,3,4,5]; dd $a>>.ord; dd $a 10:07
camelia [49, 50, 51, 52, 53]
[1, 2, 3, 4, 5]
lizmat m: my $a := [1,2,3,4,5]; dd $a>>--; dd $a
camelia [1, 2, 3, 4, 5]
[0, 1, 2, 3, 4]
lizmat I think the latter semantics are actually wrong
in the case of >>.ord, we get a modified array, and the original is unchanged 10:08
in the case of >>--, we get a copy of the original array, and the original array is modified
that is inconsistent 10:09
but I guess it is consistent with the current documentation: "This is the hyper method call operator. Will call a method on all elements of a List out of order and return the list of return values in order." 10:13
10:57 frost joined 11:59 squashable6 left, releasable6 left, sourceable6 left, bloatable6 left, quotable6 left, coverable6 left, evalable6 left, greppable6 left, benchable6 left, bisectable6 left, shareable6 left, reportable6 left, statisfiable6 left, notable6 left, unicodable6 left, nativecallable6 left, committable6 left, linkable6 left, tellable6 left, committable6 joined, nativecallable6 joined 12:00 statisfiable6 joined, releasable6 joined, notable6 joined, sourceable6 joined, evalable6 joined, squashable6 joined, tellable6 joined, coverable6 joined 12:01 unicodable6 joined, bisectable6 joined, reportable6 joined, quotable6 joined, bloatable6 joined, linkable6 joined 12:02 greppable6 joined, benchable6 joined, shareable6 joined 12:08 reportable6 left 12:09 reportable6 joined
Geth rakudo: d0ec99a861 | (Elizabeth Mattijsen)++ | 3 files
Correct behaviour on QuantHash>>--

On more thoroughly grokking
this commit changes the functionality to be in concordance to the documentation and related tests on Hashes.
See also github.com/Raku/problem-solving/issues/345
roast: 459e49f335 | (Elizabeth Mattijsen)++ | 6 files
Adapt tests according to rakudo d0ec99a861

Full link: github.com/rakudo/rakudo/commit/d0ec99a861
13:15 japhb left 13:16 japhb joined 13:39 japhb left 14:07 japhb joined 14:15 frost left 14:22 sena_kun left, Altai-man joined 15:02 japhb left 15:03 japhb joined 16:04 linkable6 left, evalable6 left, linkable6 joined 16:06 evalable6 joined 16:32 japhb left 16:33 japhb joined 17:30 Altai-man left 17:59 squashable6 left 18:00 squashable6 joined 18:07 reportable6 left 18:08 reportable6 joined, sena_kun joined 20:02 [Coke]_ joined 20:04 [Coke] left, sena_kun left 20:06 sena_kun joined 20:44 melezhik joined 20:54 melezhik left 21:22 [Coke] joined 21:23 [Coke]_ left 21:44 sena_kun left 22:44 quotable6 left, reportable6 left, bloatable6 left, coverable6 left, benchable6 left, tellable6 left, squashable6 left, linkable6 left, unicodable6 left, greppable6 left, releasable6 left, evalable6 left, shareable6 left, sourceable6 left, statisfiable6 left, committable6 left, nativecallable6 left, notable6 left, bisectable6 left 22:45 evalable6 joined, coverable6 joined, nativecallable6 joined, bisectable6 joined, reportable6 joined, committable6 joined, bloatable6 joined, squashable6 joined 22:46 sourceable6 joined, unicodable6 joined, tellable6 joined 22:47 statisfiable6 joined, shareable6 joined, quotable6 joined, linkable6 joined, releasable6 joined, notable6 joined 22:48 greppable6 joined, benchable6 joined 23:01 epony left