🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
gfldex .tell ugexe p6bot has stopped updating the ecosystem files about 14 hours ago 00:28
tellable6 gfldex, I'll pass your message to ugexe
cpan-raku New module released to CPAN! LibXML (0.5.10) by 03WARRINGD 01:00
Xliff . 07:20
kawaii Is there anyway to override the last joiner in the .join routine? :) 09:31
I want the last one to be 'and', and all the others to be ", " 09:32
(preferably without chopping up the list) 09:33
SmokeMachine m: say <a e i o u>[0 .. *-2, *-1]>>.join(", ").join: " and " 09:36
camelia a, e, i, o and u
kawaii SmokeMachine: :D thanks 09:38
SmokeMachine m: say <a e i o u>.&{ .head(*-1).join(", "), .tail }.join: " and " 09:39
camelia a, e, i, o and u
SmokeMachine m: say <a e i o u>.&{ { .head(*-1).join(", ") } and { .tail }" }
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3 { .head(*-1).join(", ") } and { .tail }7⏏5" }
expecting any of:
infix
infix stopper
SmokeMachine m: say <a e i o u>.&{ "{ .head(*-1).join(", ") } and { .tail }" } 09:40
camelia a, e, i, o and u
SmokeMachine m: say do given <a e I o u> { "{ .head(*-1).join: ", " } and { .tail }" } 09:41
camelia a, e, I, o and u
Altreus hmm I was sure I read something where this was done natively 09:48
I've no idea what I am actually thinking of though
SmokeMachine m: say "{ .head(*-1).join: ", " } and { .tail }" given <a e I o u> 09:53
camelia a, e, I, o and u
Altreus m: say "{ .head(*-1).join: ", " } and { .tail }" given <a> 10:00
camelia and a
Altreus there's an edge case ;D
SmokeMachine m: say <a e i o u>.&{ do if .head(*-1) -> $_ { .join: ", " }, .tail }.join: " and " 10:11
camelia a, e, i, o and u
SmokeMachine m: say <a>.&{ do if .head(*-1) -> $_ { .join: ", " }, .tail }.join: " and "
camelia a
SmokeMachine m: say <a e>.&{ do if .head(*-1) -> $_ { .join: ", " }, .tail }.join: " and "
camelia a and e
SmokeMachine m: say <a e i o u>.&{ .head(*-1).&{ .join(", ") if $_ }, .tail }.join: " and " 10:14
camelia a, e, i, o and u
SmokeMachine m: say <a>.&{ .head(*-1).&{ .join(", ") if $_ }, .tail }.join: " and "
camelia a
SmokeMachine m: say <a e i o u>.&{ |.head(*-2), .tail(*-.elems + 2).join: " and " }.join: ", " 10:33
camelia a, e, i, o and u
ca53 Hello everybody. I've finished reading Learning Perl 6 some time ago and I've used Raku since then in some personal scripts / university assignments solutions. 11:08
I'm considering some contribution to the ecosystem now. I'm not familiar with Rakudo/MoarVM internals, but I think I might be able to contribute to some module development.
I came across 'Upgrade high-priority community modules' GSOC 2020 idea listing some high priority ones. Is this list still up to date? The age of the most recent commits regarding these indicates they might still need the care. Are there any other important modules you would suggest me to look into?
lizmat .tell ca53 not sure which list you were referring to, could you provide a URL ? 11:11
tellable6 lizmat, I'll pass your message to ca53
ca53 perl-foundation-outreach.github.io...dules.html 11:12
lizmat looks
lizmat I think URI still has its issues listed 11:13
Pod::To::HTML has seen some recent developments, so I'm not 100% sure about that one, although the number of issues appears to have grown
Altai-man ^^ ?? 11:14
Test::When and LWP::Simple could also have some love, if only to replace mentions of Perl 6 to Raku :-) 11:16
including renaming the repo :-)
ca53 Thanks :). Any non-listed worth looking into? 11:21
lizmat well, how familiar are you with Perl, specifically Perl's pack / unpack? 11:22
modules.raku.org/dist/P5pack:cpan:ELIZABETH could use tests, and it is listed as a Hacktoberfest repo :-) 11:23
it also actually could do with a refactor, but that I wouldn't call a beginners task 11:24
ca53 Well, I'm not actually familiar with Perl at all. 11:26
lizmat then please ignore my last remarks :-) 11:27
Altai-man lizmat, Pod::To::HTML is oki if you ask me. 11:33
lizmat ok to work on, or no urgent work needed atm ? 11:34
Altai-man lizmat, I think no urgent work is needed. I mean, I would really appreciate sparing me from looking at github.com/Raku/Pod-To-HTML/issues/82 but I don't know if a novice can safely do it. 11:35
lizmat right :-)
tbrowder hi, all. after glancing at the earlier traffic and seeing SmokeMachine's request for ending a string with " and" instead of ", " i'm wondering why some writer's insist on leaving out the Oxford Comma. 11:36
ca53 Will probably start by going through the URI issues&code then. Thanks for the info. 11:37
lizmat that's because the routine has an optional :oxford-comma named
++ca53
tbrowder erg, pulling my leg? sounds like a good idea, but i don't see it in docs 11:47
wait...still looking.... 11:48
tbrowder lizmat: if not joking, ref for the routine with :oxford-comma pls 11:52
sounds like a good routine to add to Text::Utils, though 11:57
{shameless plug}
lizmat tbrowder: it was semi-serious 11:59
Altreus Optional Comma
tbrowder ok, running with it, thnx
Altreus instead of the oxford comma, just stop ending lists with and
tbrowder Altreus: noted
[Coke] Looking for a quick win? Document an nqp opcode (github.com/Raku/nqp/issues/293) 14:26
m: use nqp; dd nqp::hllboolfor(1,"nqp") 14:28
camelia (signal SEGV)
[Coke] github.com/Raku/nqp/issues/619
who manages the github issue notification integration with IRC? github.com/Raku/nqp/issues/633 14:30
Xliff Has anyone had a chance to look into github.com/rakudo/rakudo/issues/3922?
It's been about a month
[Coke]++ -- I might take a stab at tha undocumented atpos and bind ops as a way of dipping my toe in. 14:35
[Coke] Xliff++ thanks 15:09
Xliff Of course, I am deep in the middle of a large effort in My Obsessively Large Project 15:10
Hope to be finished by Sunday.
Then I can switch gears. It might be a nice break. 15:11
[Coke] nqp: class EEK {method Numeric() {return 3}}; my $a:= EEK.new(); say(+$a); 17:29
camelia Cannot intify this object of type P6opaque (EEK)
at <tmp>:1 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:1945 (/home/camelia/rakudo-m-inst-2/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:2150 (/home/camelia/raku…
Geth_ ecosystem/kalkin-update-license-software: c0c10352fd | (Bahtiar Gadimov)++ | META.list
Update DDT and it's dependency License::Software

This fixes github.com/kalkin/Ddt/issues/10
19:20
ecosystem/kalkin-update-license-software: 0812d393a5 | (Bahtiar Gadimov)++ | META.list
Update License::Software to v0.3.1

This integrates github.com/kalkin/License-Software/pull/4 and hopefully fixes tests failing in ecosystem.