🦋 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 inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:20 evalable6 joined 00:23 jjido left
moon-child is there any method like 'rest' where e.g. <1 2 3>.rest ←→ <2 3>? 00:25
rakuUser <1 2 3>.tail(2) gives (2 3) idk if that is what you are looking for 00:28
moon-child more .tail(*-1). But that's not really better than [1..*-1] 00:29
rakuUser .tail(*-1) is cool 00:30
00:55 unixcat64 joined 01:20 shareable6 joined 01:40 frost joined
moon-child m: reduce sub ($x, $y) is assoc<right> { "($x $y)" }, <a b c>, 'd' 01:49
camelia ( no output )
moon-child m: say reduce sub ($x, $y) is assoc<right> { "($x $y)" }, <a b c>, 'd'
camelia (a b c d)
moon-child m: say reduce sub ($x, $y) is assoc<right> { "($x $y)" }, |<a b c>, 'd'
camelia (a (b (c d)))
01:50 discord-raku-bot left
moon-child is there a way to get the latter behaviour without flattening? 01:50
01:51 discord-raku-bot joined 02:26 keutoi joined 03:26 greppable6 left, statisfiable6 left, benchable6 left, sourceable6 left, committable6 left, coverable6 left, nativecallable6 left, notable6 left, releasable6 left, bisectable6 left, linkable6 left, tellable6 left, unicodable6 left, quotable6 left, evalable6 left, bloatable6 left, squashable6 left, shareable6 left 03:27 sourceable6 joined, releasable6 joined, greppable6 joined, benchable6 joined 03:28 quotable6 joined, statisfiable6 joined 03:29 evalable6 joined, bloatable6 joined 03:55 neshpion left 03:56 rakuUser left 04:28 squashable6 joined 04:29 coverable6 joined, unicodable6 joined, bisectable6 joined 04:39 keutoi left 05:11 swaggboi left 05:18 swaggboi joined 05:27 linkable6 joined, notable6 joined 05:28 nativecallable6 joined, bdju left 05:29 bdju joined
CIAvash moon-child: I don't think so, [reduce](docs.raku.org/routine/reduce) takes arguments as [Single argument rule slurpy](docs.raku.org/type/Signature#Singl...e_slurpy), and it makes sense. 05:45
Is there going to be a binary release for Rakudo 2021.08? cc Altai-man patrickb 05:49
06:27 tellable6 joined 06:29 committable6 joined 07:17 Sgeo left 07:18 Manifest0 joined 07:20 Sgeo joined 07:28 shareable6 joined 08:03 reportable6 joined 08:07 jjido joined 08:16 neither joined 08:38 bdju left 08:42 lichtkind joined 08:50 keutoi joined
neither moon-child: is `skip` fine 08:55
m: say <1 2 3>.skip
camelia (2 3)
moon-child ooh, yea, that's nice
09:23 andinus left 09:45 andinus joined 09:54 neither left 09:55 bdju joined 09:56 Sgeo left 10:03 neither joined 10:04 jjido left 10:19 neither left 10:23 neither joined 10:51 jjido joined 11:29 jjido left 11:31 jjido joined 11:32 jjido left 11:54 jjido joined 12:02 reportable6 left 12:03 reportable6 joined 12:13 neither left 12:26 frost left 12:37 rakuUser joined 12:46 frost joined 12:48 frost left 12:53 neither joined 12:54 jjido left 13:22 MasterDuke90 joined 14:06 MasterDuke90 left 14:19 keutoi left 14:37 vodkra joined 14:38 neither left 14:50 neither joined 15:50 linkable6 left, evalable6 left 15:51 vodkra left, vodkra joined 15:55 vodkra left 15:56 vodkra joined 16:03 vodkra left 16:04 vodkra joined 16:08 vodkra left 16:09 vodkra joined 16:52 evalable6 joined 17:09 Sgeo joined 17:36 vodkra left 17:42 vodkra joined 17:44 Xliff joined 17:52 linkable6 joined 18:01 neither left 18:02 reportable6 left 18:03 reportable6 joined 18:11 neither joined 18:19 monkey_ joined 18:44 jess left 19:02 jjido joined 19:04 MasterDuke68 joined 20:03 codesections left 20:15 dwarring joined 20:49 monkey_ left 20:51 jjido left 20:52 jjido joined 21:14 neither left 21:15 jjido left 22:02 MasterDuke68 left 22:10 neshpion joined 22:32 monkey_ joined 22:39 lichtkind left 22:47 Altai-man left, Altai-man joined 22:49 bdju left 22:50 discord-raku-bot left, discord-raku-bot joined 22:51 bdju joined 23:24 rakuUser left