»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
Kaiepi made an issue for it github.com/rakudo/rakudo/issues/2748 00:00
00:03 MidCheck joined
timotimo hey tadzik 00:12
common get your comma on, mon 00:13
did everybody see comma community being released?
Kaiepi heard about it 00:15
it looks neat, especially the debugging features, but i'm not sure if it'll run on my os 00:19
00:19 cpan-p6 left 00:20 cpan-p6 joined 00:23 Ekho left 00:27 netrino left 00:34 cpan-p6 left 00:35 cpan-p6 joined 00:41 Ekho joined 00:47 w_richard_w joined 00:54 cpan-p6 left 00:59 cpan-p6 joined 01:06 aborazmeh joined, aborazmeh left, aborazmeh joined
guifa Before I finish coding this stuff, any feedback on how I think the API for Fluent should go? github.com/alabamenhu/Fluent/blob/.../README.md 01:17
01:23 cpan-p6 left, cpan-p6 joined 01:24 titsuki left 01:25 titsuki joined 01:26 ayerhart joined 01:30 ayerhart left 01:31 ayerhart joined 01:45 aborazmeh left 01:48 cpan-p6 left, cpan-p6 joined 01:57 adu_ joined 02:05 cpan-p6 left 02:06 cpan-p6 joined 02:08 molaf left 02:11 adu_ left 02:13 MidCheck left 02:21 molaf joined 02:23 woolfy1 joined 02:25 cpan-p6 left, woolfy left 02:32 jeromelanteri joined 02:51 ayerhart left 02:54 ayerhart joined 02:55 leont left 03:32 aborazmeh joined, aborazmeh left, aborazmeh joined 03:41 Averna left 03:42 zacts joined 03:47 zacts left, zacts joined 03:50 kurahaupo left, kurahaupo joined 03:51 kurahaupo left, kurahaupo joined 04:00 shinobicl joined 04:01 cpan-p6 joined 04:26 cpan-p6 left, sno left, reach_satori_ left, llfourn left, KotH left, vrurg left, kini left, ChoHag left, cwilson left, Sgeo left, AlexDaniel` left, gfldex left, |oLa| left, shinobicl left, ayerhart left, imcsk8 left, phogg left, epony left, sergot left, xinming_ left, kaare_ left, kurahaupo left, titsuki left, Black_Ribbon left, ferreira left, markk left, daxim left, irco left, mniip left, MilkmanDan left, choiboi left, TeamBlast left, camelia left, cgfbee left, simcop2387 left, perlbot left, dotdotdot left, dogbert17 left, alnk left, avarab left, Ekho left, kst left, Mithaldu left, lgtaube left, kybr left, cpup left, SCHAPiE left, oodani_ left, loops left, aindilis left, sivoais left, molaf left, wbn left, Grauwolf left, caasih left, hobbified left, timeless left, zostay left, spycrab0 left, b2gills left, avalenn left, m0ltar left, nebuchadnezzar left, pierrot left, Juerd left, tobs left, obfusk left, lookatme_q left, leah2 left, moony left, esh left, Peter_R left, zacts left, woolfy1 left, drclaw left, vike left, AlexDaniel left, ravenousmoose_ left, squashable6 left, TimToady left, TreyHarris left, random_yanek left, unicodable6 left, greppable6 left, reportable6 left, notable6 left, moritz left, timotimo left, coverable6 left, MasterDuke left, grumble left, Sigyn left, Seance[m] left, joy_ left, mithaldu_ left, hfjvjffju left, Spot_ left, eveith left, isacl__ left, chee left, sftp left, Geth left, mephinet left, Guest19311 left, ccntrq left, Harzilein left, eiro left, PotatoGim left, Kaiepi left, dustinm` left, cpage left, tyil left, powerbit left, awwaiid left, silug left, masak left, kyzn left, aeruder left, niceplace left, ExtraCrispy left, benchable6 left, mack[m] left, albongo left, bisectable6_ left, Matthew[m] left, f3ew left, jeromelanteri left, kent\n left, telex left, eater left, bartolin left, nekomune left, klapperl left, oftl left, irdr_ left, pyrimidine left, lucs left, Guest77895 left, profan_ left, afresh1 left, mantovani left, yoleaux left, dpk left, tomaw left, iviv left, peteretep left, pnu__ left, undersightable6 left, domm left, cono left, jnthn left, Garland_g[m] left, cxreg left, tinita left, aborazmeh left, jast left, nightfrog left, sjn left, kubrat left, krunen left, Ulti left, MikeyG left, cibs left, go|dfish left, gabiruh left, DrForr left, vxe left, tyil[m]1 left, p6lert left, dalek left, mrsolo left, huf left, lance_w[m] left, BuildTheRobots left, robinsmidsrod left, integral left, [particle] left, reu left, ecocode_ left, statisfiable6 left, quotable6 left, S007 left, BinGOs left, bloatable6 left, MitarashiDango[m left, hoelzro left, synopsebot left, daemon left, skaji left, tailgate left, a3r0 left, Util left, Cabanossi left, nativecallable6 left, shareable6 left, releasable6 left, committable6 left, evalable6 left, sacomo left, PavelB left, chansen_ left, SyrupThinker left, El_Che left, tyil[m] left, Altreus left, guifa left, laidback_01 left, sauvin left, scovit left, wmoxam left, discord6 left, nine left, sca left, SqrtNegInf left, breinbaas left, w_richard_w left, john_parr left, samcv left, rgrau left, namibj left, rjbs left, xi- left, eythian left, bhm left, elcaro left, japhb left, andrewalker left, webstrand left, ponbiki left, diego_k left, protium left, mst left, ingy left, broquaint left, jdv79 left, APic left, marcusr left, shadowpaste left, tadzik left, raydiak_ left, tony-o left, stux|RC-only left 04:57 cpan-p6 joined, molaf joined, dhyan_nataraj joined, tinita joined, ayerhart joined, obfusk joined, shinobicl joined, kurahaupo joined, zacts joined, jeromelanteri joined, woolfy1 joined, titsuki joined, w_richard_w joined, Ekho joined, imcsk8 joined, drclaw joined, vike joined, Cabanossi joined, Kaiepi joined, laidback_01 joined, Black_Ribbon joined, MasterDuke joined, sno joined, ferreira joined, phogg joined, AlexDaniel joined, reach_satori_ joined, ExtraCrispy joined, epony joined, sergot joined, ravenousmoose_ joined, llfourn joined, KotH joined, xinming_ joined, squashable6 joined, TimToady joined, kaare_ joined, kst joined, TreyHarris joined, vrurg joined, kent\n joined, telex joined, tyil[m]1 joined, kini joined, dustinm` joined, scovit joined, ChoHag joined, cwilson joined, guifa joined, random_yanek joined, Sgeo joined, integral joined, AlexDaniel` joined, Mithaldu joined, gfldex joined, wbn joined, |oLa| joined, Seance[m] joined, markk joined, Grauwolf joined, committable6 joined, releasable6 joined, shareable6 joined, nativecallable6 joined, tolkien.freenode.net sets mode: +vvvv committable6 releasable6 shareable6 nativecallable6, eater joined, unicodable6 joined, greppable6 joined, reportable6 joined, lgtaube joined, evalable6 joined, bartolin joined, john_parr joined, daxim joined, kybr joined, sacomo joined, caasih joined, hoelzro joined, Sigyn joined, irco joined, [particle] joined, mniip joined, sauvin joined, cpup joined, jast joined, SCHAPiE joined, oodani_ joined, hobbified joined, joy_ joined, timeless joined, hfjvjffju joined, mithaldu_ joined, PavelB joined, Spot_ joined, tolkien.freenode.net sets mode: +v evalable6, eveith joined, isacl__ joined, zostay joined, chansen_ joined, spycrab0 joined, nekomune joined, nightfrog joined, klapperl joined, loops joined, b2gills joined, chee joined, aindilis joined, MilkmanDan joined, sivoais joined, avalenn joined, m0ltar joined, nebuchadnezzar joined, choiboi joined, tyil joined, sftp joined, benchable6 joined, powerbit joined, TeamBlast joined, oftl joined, samcv joined, grumble joined, camelia joined, cgfbee joined, broquaint joined, simcop2387 joined, perlbot joined, dotdotdot joined, irdr_ joined, pyrimidine joined, pierrot joined, dogbert17 joined, alnk joined, rgrau joined, namibj joined, avarab joined, Juerd joined, mack[m] joined, SyrupThinker joined, lucs joined, awwaiid joined, wmoxam joined, tolkien.freenode.net sets mode: +vv benchable6 camelia, El_Che joined, yoleaux joined, silug joined, discord6 joined, dpk joined, Geth joined, jdv79 joined, p6lert joined, synopsebot joined, dalek joined, tolkien.freenode.net sets mode: +vvvv yoleaux Geth synopsebot dalek, tomaw joined, Guest77895 joined, nine joined, profan_ joined, tobs joined, rjbs joined, xi- joined, lookatme_q joined, mephinet joined, leah2 joined, reu joined, masak joined, albongo joined, moony joined, esh joined, APic joined, bisectable6_ joined, Peter_R joined, eythian joined, iviv joined, mrsolo joined, peteretep joined, pnu__ joined, ecocode_ joined, bhm joined, sjn joined, huf joined, notable6 joined, undersightable6 joined, kyzn joined, elcaro joined, daemon joined, afresh1 joined, aeruder joined, statisfiable6 joined, quotable6 joined, tolkien.freenode.net sets mode: +vvvv bisectable6_ undersightable6 statisfiable6 quotable6, domm joined, japhb joined, sca joined, SqrtNegInf joined, cono joined, S007 joined, skaji joined, kubrat joined, jnthn joined, moritz joined, krunen joined, BinGOs joined, Ulti joined, timotimo joined, coverable6 joined, bloatable6 joined, MikeyG joined, marcusr joined, lance_w[m] joined, MitarashiDango[m joined, tyil[m] joined, Matthew[m] joined, Garland_g[m] joined, breinbaas joined, andrewalker joined, niceplace joined, Guest19311 joined, mantovani joined, cibs joined, shadowpaste joined, ccntrq joined, webstrand joined, Harzilein joined, eiro joined, PotatoGim joined, go|dfish joined, tadzik joined, gabiruh joined, DrForr joined, ponbiki joined, ssm joined, riatre joined, ilbelkyr joined, Celelibi joined, Elronnd joined, xiaomiao joined, erdic joined, spacebat1 joined, charsbar joined, hahainternet joined, jkramer joined, fvox joined, Bucciarati joined, literal joined, Exodist joined, Sharparam joined, ribasushi joined, tbrowder joined, jcallen joined, [ptc] joined, [BooK] joined, kipd joined, jhill joined, SmokeMachine joined, scott joined, pirateFinn joined, Altreus joined, raydiak_ joined, diego_k joined, cxreg joined, protium joined, f3ew joined, vxe joined, tony-o joined, robinsmidsrod joined, BuildTheRobots joined, Util joined, a3r0 joined, tailgate joined, ingy joined, mst joined, stux|RC-only joined 04:58 ChanServ sets mode: +v ilogger2, oodani_ left, oodani joined, zacts left 05:03 zacts joined 05:05 molaf left, cpan-p6 left, cpan-p6 joined 05:07 shinobicl left 05:16 w17t joined 05:17 zacts left 05:22 molaf joined 05:28 cpan-p6 left 05:29 cpan-p6 joined 05:45 molaf left 05:54 cpan-p6 left, cpan-p6 joined 05:55 curan joined 06:06 alpha6 joined 06:18 cpan-p6 left 06:19 cpan-p6 joined 06:20 w_richard_w left 06:25 abraxxa joined 06:30 abraxxa left 06:31 lizmat joined 06:36 cpan-p6 left 06:43 jmerelo joined 06:44 abraxxa joined 06:49 domidumont joined 06:53 domidumont left
jmerelo .seen sena_kun 06:56
yoleaux I saw sena_kun 6 Mar 2019 20:28Z in #perl6: <sena_kun> I guess this time feels < reals. ;)
jmerelo .tell sena_kun can I set the number of columns in comma in some way?
yoleaux jmerelo: I'll pass your message to sena_kun.
jmerelo .tell sena_kun OK, I found it, in Code Style... 06:57
yoleaux jmerelo: I'll pass your message to sena_kun.
06:59 woolfy1 left 07:02 Kaiepi left, Kaiepi joined
Geth doc: b1b1b40634 | (JJ Merelo)++ | doc/Language/setbagmix.pod6
Clarifies and summarizes unordered classes, closes #2613
07:06
synopsebot Link: doc.perl6.org/language/setbagmix
07:12 domidumont joined, lizmat left 07:20 drclaw left 07:27 cpan-p6 joined 07:31 jmerelo left 07:42 cpan-p6 left, cpan-p6 joined 07:44 lizmat joined 07:51 lizmat left 07:55 sno left 07:57 cpan-p6 left 07:58 cpan-p6 joined 08:03 cwilson1 joined 08:04 cwilson left 08:07 sno joined, w_richard_w joined 08:09 jc_atikon joined 08:11 Kaiepi left, MidCheck joined 08:13 Summertime joined, cpan-p6 left 08:14 cpan-p6 joined
Summertime a question about mutating an array at compile time not being reflected at runtime, gist.github.com/Summertime/15b1bde...cc35e01c37 08:14
08:15 ribasushi left, Kaiepi joined
Summertime how should I best go about achieving what I want? (having the data available at runtime, either through use of trait as so, or some other method other than literally typing the name of the function into the list) 08:15
08:18 sno left
Summertime added python version to better explain what I want to anyone who also knows python and the decorator stuff 08:25
08:27 rindolf joined 08:29 zakharyas joined
AlexDaniel Summertime: but if you change `my @funcs = [];` to `my @funcs;` it works, right? 08:29
so the problem is that you're reinitializing your array at run time 08:30
so either use just `my @funcs;` or do something like `BEGIN my @funcs = [‘foo’];` 08:32
08:32 cpan-p6 left 08:33 dakkar joined 08:38 netrino joined
timotimo m: class X {}; X.new.say 08:38
camelia X.new
timotimo m: class X {}; X.new.say; die "test"
camelia X.new
test
in block <unit> at <tmp> line 1
timotimo m: class X {}; X.new.say; X::AdHoc.new().throw
camelia X.new
Unexplained error
in block <unit> at <tmp> line 1
timotimo mhm mhm 08:39
08:42 ribasushi joined 08:46 cpan-p6 joined 08:50 jeromelanteri left 08:59 netrino left 09:03 sno joined, jeromelanteri joined 09:10 cpan-p6 left, cpan-p6 joined
timotimo daxim: i gave my colleague who also works on comma some details for that exception, i can ping you if/when there is an answer 09:11
i would try to fix it myself but my laptop kind of died and i now only have my smartphone with a keyboard 09:12
Summertime thanks Alex
09:15 w_richard_w left 09:16 kensanata joined 09:19 andrzejku joined 09:20 scimon joined
timotimo Kaiepi: in theory you could use comma on a bsd if you get an appropriate JRE up and running; what that entails i don't know, but if there's something obvious in comma that makes it not work on BSD without a sensible reason, I can try if I can fix it perhaps 09:21
m: say 007 09:22
camelia Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal number, use '0o' prefix; like, '0o07'. If you meant to create a string, please add quotation marks.
at <tmp>:1
------> 3say 0077⏏5<EOL>
7
timotimo m: say 0o07 09:23
camelia 7
timotimo andrew shitov has expanded the scope of the toy language a lot since last i saw the talk 09:24
very nice to see
09:33 cpan-p6 left, cpan-p6 joined
timotimo ash just gave me the terrible idea to allow comments inside variable names, or perhaps even have something like an escaping construct that can put whole blocks of stuff inside variable names that become a part of it 09:39
m: my $foo:<this is a long explanation of what i mean>; 09:40
camelia ( no output )
timotimo oh no
we already have this
Kaiepi looks like comma works fine on bsd 09:43
09:45 sno left
Kaiepi it just needs openjdk to be installed and in your PATH 09:46
Summertime just so I'm understanding correctly, when using `for` with a block with no arguments, its equiv to using `given thingo` on the block? there isn't any magical argument created right? 09:51
09:51 cpan-p6 left 09:52 ribasushi left
timotimo fantastic! 10:00
Summertime: blocks without a signature get a default of an optional $_ parameter 10:01
Summertime hm, subs however do not, right?
timotimo blocks with just a -> before the {} gets the empty signature instead, which if you use ˋforˋon it will immediately error out at run time :) 10:02
m: say sub {}.signature
camelia ()
timotimo m: (sub {})(1) 10:03
camelia Too many positionals passed; expected 0 arguments but got 1
in sub at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo m: (sub { say $_ })(1)
camelia Too many positionals passed; expected 0 arguments but got 1
in sub at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo yep
Summertime I guess I could sub funky ($_) {say $_} 10:04
timotimo perl6 introspection is really useful here
that's right.alternatively you can use implicit parameters
m: sub test { say $^arg }; test(1) 10:05
camelia 1
Summertime I guess the question I'm actually wanting to ask is what is the most reasonable way to use `when` within a sub to do pattern matching
timotimo ^ using these gives you a signature made up of the variables as positionals sorted alphabetically 10:06
ah, yes, either have $_ in the signature explicitly or have a given inside the sub to set it for you
if you don't need to use "return" in the sub, you can also put a block into the &foo var 10:07
10:07 jc_atikon left
Summertime or use the signature and `multi` to do the pattern matching outside the sub 10:07
timotimo m: my &do-it = { say "$_ is the word" }; do-it("bird")
camelia bird is the word
Summertime can you pin arbitrary data to a block? a-la python `x = lambda:0; x.blerp = 'blerpy'` 10:08
timotimo you can mix roles in 10:09
with but or does, depending on where you want to put it
Summertime I think I've got a good enough idea of how to proceed now, thanks for your time :) 10:12
10:12 kurahaupo left
timotimo no problem :) 10:13
10:13 kurahaupo joined
timotimo sitting at the gpw paying not full attention to a talk that is interesting but i don't need to know the particular details 10:13
10:18 pmurias joined 10:24 lizmat joined 10:27 lizmat left 10:31 sno joined 10:35 cpan-p6 joined 10:46 jeromelanteri left 10:49 cpan-p6 left 10:50 cpan-p6 joined 10:52 kurahaupo left 10:53 kurahaupo joined 10:55 leont joined 11:02 sno left 11:06 cpan-p6 left, cpan-p6 joined 11:21 cpan-p6 left, cpan-p6 joined 11:22 patrickb joined 11:24 jeromelanteri joined 11:32 lizmat joined 11:35 daxim left 11:37 ribasushi joined 11:38 kurahaupo left, kurahaupo joined 11:39 daxim joined 11:44 cpan-p6 left 11:45 cpan-p6 joined 12:03 zakharyas left, cpan-p6 left, cpan-p6 joined 12:14 jaroman joined 12:18 cpan-p6 left, cpan-p6 joined 12:21 jaroman left 12:27 jerome_ joined, sno joined, sena_kun joined 12:29 jeromelanteri left 12:30 jimtron joined 12:39 tatmantech joined 12:40 dhyan_nataraj left, dhyan_nataraj joined, cpan-p6 left 12:41 cpan-p6 joined 12:42 jimtron left, molaf joined 12:45 sno left 12:52 kurahaupo left, kurahaupo joined 12:54 cpan-p6 left 12:55 cpan-p6 joined 12:58 kurahaupo left
cpan-p6 New module released to CPAN! Bailador (0.0.18) by 03UFOBAT 12:58
13:01 kurahaupo joined 13:03 sno joined 13:09 dhyan_nataraj left 13:10 cpan-p6 left, cpan-p6 joined 13:12 sno left 13:15 tatmantech left 13:16 mowcat joined 13:21 Black_Ribbon left, jimtron joined
tadzik \o/ 13:24
patrickb \o\o/o/ 13:25
13:26 sno joined 13:27 lucasb joined
timotimo whee 13:31
13:37 cpan-p6 left, cpan-p6 joined 13:38 w17t left 13:45 sno left
El_Che releasable6: status 13:46
releasable6 El_Che, Next release will happen when it's ready. 2 blockers. 0 out of 341 commits logged
El_Che, Details: gist.github.com/da6bb05710c2ca1dd8...a3480b3469
AlexDaniel working on it! 13:49
13:50 Kaiepi left, Kaiepi joined
El_Che So, that's how passive-aggressive El_Che looks like :) 13:50
just kidding
13:52 dhyan_nataraj joined 14:00 cpan-p6 left, cpan-p6 joined
cpan-p6 New module released to CPAN! gtk-v3 (0.8.0) by 03MARTIMM 14:00
14:09 kent\n left 14:10 kent\n joined
discord6 <kawaii> where do we file comma issues? :] 14:12
14:12 aborazmeh joined, aborazmeh left, aborazmeh joined
sena_kun Comma website. You need to create an account there (start from "Buy" button ( ;) ), but you may skip the subscription part). Once you're logged in, you can use `feedback application`. 14:14
yoleaux 06:56Z <jmerelo> sena_kun: can I set the number of columns in comma in some way?
06:57Z <jmerelo> sena_kun: OK, I found it, in Code Style...
14:15 sno joined
discord6 <kawaii> sena_kun, very minor gripe, it complains about a missing 'license' from my META6 file, when the correct spelling is actually licence :] 14:16
<kawaii> 'license' is a verb, licence is a noun, i.e this is the licence for the perl module 14:17
sena_kun >In the US version, license is used to imply both the noun and verb forms
sena_kun tries to remember what is in META6.json... 14:18
discord6 <kawaii> ah yes but American spellings are inherently wrong :]
sena_kun well, in META6.json we mostly use "license"...
discord6 <kawaii> support both perhaps?
sena_kun and I am anon-native folk anyway, so both US and UK is the same foreign thing for me. :P 14:19
14:19 Kaiepi left
sena_kun but, well, regarding the support. 14:19
if META6.json allows both, I think we should check both, yes.
14:19 zakharyas joined
sena_kun But I've mostly seen "license" up to now. 14:19
s/anon-native/a non-native/ 14:20
14:20 Kaiepi joined
sena_kun META6 module thinks its "license" too. 14:21
ugh, *it's
14:24 cpan-p6 left
discord6 <kawaii> eh, no big issue, we'll be keeping licence since it's correct in our locale, might be worth having all the tools know about both in the future 14:24
14:24 cpan-p6 joined 14:25 mowcat left 14:32 sno left 14:33 sno joined 14:39 cpan-p6 left, cpan-p6 joined 14:41 sno left
scimon Being a English speaker (not American English) we're mostly resigned to their spelling having taken over in coding (color??? Sigh). 14:41
discord6 <kawaii> which is a shame given that Americal English is more or less a fork of British English ;] 14:43
<kawaii> American* 14:44
sena_kun any kind of unification == good. what thing to use in particular doesn't matter too much, I think. I mean, that's just some signs to express sequences of sounds to express an image of a thing or a concept from our minds. 14:46
when speaking about e.g. "red color" meaning color of a tomato, but not a color of the sky, there is not so much difference between using "red" sequence of sounds or "asdf" sequence of sounds. Except for "we are used to 1, but not to 2". 14:47
or *colour, if this is really important. :) 14:48
14:48 aborazmeh left, Xliff joined 14:50 sena_kun left 14:51 sena_kun joined 14:52 jerome_ left, TreyHarris left 14:53 lizmat left 14:56 cpan-p6 left 14:57 cpan-p6 joined 14:58 pmurias left
AlexDaniel kawaii: keeping that in your META6.json file makes no sense to me 14:58
that file is very often read by tools, not humans
15:01 pmurias joined
scimon Note the fork was done to be specifically backwards incompatible by Noah Webster. 15:01
AlexDaniel and yes, adding all possible variants to the spec doesn't make much sense to me
scimon (Running away)
15:01 scimon left
AlexDaniel I guess the same logic can be used to demand tools to understand the word “license” in your favorite language… please, no localization in META6.json 15:01
lucasb localisation even! 15:02
AlexDaniel is it source-url that you can write in different ways?
15:03 skids joined
AlexDaniel that thing: github.com/moritz/perl6-all-module...on#L16-L22 15:06
Xliff \o
AlexDaniel I think there's a difference between the two, but personally I don't know what that difference is :) 15:07
discord6 <kawaii> AlexDaniel: is it not more nonsensical to use a blatant misspelling? ;]
15:07 lizmat joined
AlexDaniel if there was a misspelling, we'd deprecate one of the variants and submit PRs to all modules 15:09
at least that's what I'd do… 15:10
15:10 cpan-p6 left
AlexDaniel luckily, it is spelled correctly :) 15:10
15:11 cpan-p6 joined
AlexDaniel
.oO( spelt :P )
15:11
xinming_ m: my %h = <a b c d e f>; %h.perl.say; %h<a c>.perl.say; 15:12
camelia {:a("b"), :c("d"), :e("f")}
("b", "d")
xinming_ Is there a shortcut to generate can we generate pairs also with keys? So we can have a sub-hash createed. 15:13
15:14 lizmat left, sno joined
AlexDaniel m: my %h = <a b c d e f>; %h.perl.say; %h<a c>:kv.perl.say; 15:14
camelia {:a("b"), :c("d"), :e("f")}
("a", "b", "c", "d")
AlexDaniel m: my %h = <a b c d e f>; %h.perl.say; %h<a c>:p.perl.say;
camelia {:a("b"), :c("d"), :e("f")}
(:a("b"), :c("d"))
xinming_ Got, it 15:15
thanks
15:15 skids left 15:16 w17t joined 15:17 domidumont left 15:19 kurahaupo left, kurahaupo joined, TreyHarris joined 15:21 curan left
timotimo m: say"hello world" 15:23
camelia 5===SORRY!5===
Argument to "say" seems to be malformed
at <tmp>:1
------> 3say7⏏5"hello world"
Two terms in a row
at <tmp>:1
------> 3say7⏏5"hello world"
expecting any of:
infix
infix stopper
timotimo aaw
greppable6: refine_slang 15:26
greppable6 timotimo, 1 line, 1 module: gist.github.com/ee2540028af671d152...0f18ed38ac
15:28 woolfy joined
discord6 <kawaii> regarding language, is it file to use special characters such as é in my module names? 15:28
<kawaii> fine* 15:29
timotimo the suggestion came up to try building a p6 slang where function names (and also sub names) would be usable both as foo_bar and fooBar automatically like in Nim
sena_kun please, don't.
it will technically work, I think, though.
timotimo but without a big screen i'm having a real hard time coding anything up
we're going to quite a bit of pain to make module names support exotic characters 15:30
sena_kun timotimo, what's the usecase for such a slang?
discord6 <kawaii> such characters are normally used to emphasise pronunciation
<kawaii> so I assumed due to the perly nature of perl 6, they would be fine in namespaces, unit classes etc 15:31
timotimo m: unit class Bööööööh; 15:32
camelia ( no output )
sena_kun m: class 千夜が可愛すぎて死んじゃうよ {};  千夜が可愛すぎて死んじゃうよ.new.say; 15:34
camelia 千夜が可愛すぎて死んじゃうよ.new
15:34 w17t left
sena_kun m: class 「千夜が可愛すぎて死んじゃうよ」と言ってた {};  「千夜が可愛すぎて死んじゃうよ」と言ってた.new.say; 15:35
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse class definition
at <tmp>:1
------> 3class7⏏5 「千夜が可愛すぎて死んじゃうよ」と言ってた {};  「千夜が可愛すぎて死んじ
expecting any of…
15:35 jimtron left
discord6 <Rogue> That's a quoting construct isn't it? 15:36
15:36 jimtron joined
sena_kun yup 15:36
m: class 千夜が可愛すぎて死んじゃうよと言ってた {};千夜が可愛すぎて死んじゃうよと言ってた.new.say;
camelia 千夜が可愛すぎて死んじゃうよと言ってた.new
sena_kun well, grammar-wise this will work too.
15:38 lizmat joined 15:48 gregf_ joined 15:50 kurahaupo left 15:51 kurahaupo joined 15:54 lizmat left 15:58 woolfy left 16:01 sno left 16:04 patrickb left, cpan-p6 left 16:05 cpan-p6 joined 16:10 w17t joined 16:13 jmerelo joined, satori__ joined
jmerelo releasable6: status 16:14
Xliff And my poor IRC client didn't get a single character of that. I had to go to the web irc logs to see what was going on! :)
releasable6 jmerelo, Next release will happen when it's ready. 2 blockers. 0 out of 341 commits logged
jmerelo, Details: gist.github.com/b3280b1502a1c9bca6...d090dc7864
16:16 reach_satori_ left 16:19 guifa left
AlexDaniel jmerelo: you can review this :) github.com/rakudo/rakudo/blob/rele...2019.03.md 16:19
jmerelo AlexDaniel++ 16:20
16:20 kensanata left
AlexDaniel it will be out today, waiting for releasable to crunch through all tests 16:21
jmerelo AlexDaniel: I would put a couple of ++ more, but you already get the idea. Great work :-)
AlexDaniel the whole dev team deserves ++'s, it took a lot of effort to fix all issues 16:22
discord6 <kawaii> wait, star release tonight?
AlexDaniel just rakudo 16:23
discord6 <kawaii> ah, sad violin
lucasb no starry night :)
16:25 w17t left, sno joined, molaf left
Xliff AlexDaniel++ 16:25
16:26 w17t joined
Kaiepi looking good 16:27
16:28 cpan-p6 left, cpan-p6 joined 16:30 pmurias left 16:37 ferreira left 16:40 abraxxa left, sno left 16:41 sno joined 16:45 mijo888 joined 16:46 sno left, cpan-p6 left, cpan-p6 joined
mijo888 Hi, (bear with me, first time here and I'm not sure how this works) I don't understand why my TWEAK isn't being called here: 16:47
class DataSet is SetHash { submethod TWEAK { say 'hi'; } }; DataSet.new(<a b c d>);
No 'hi' is output when I run the code. Anyone help with this? 16:48
16:48 nekomune left, jimtron left
jmerelo mijo888: let me see 16:49
16:50 jimtron joined
jmerelo m: class DataSet is SetHash { submethod TWEAK { say 'hi'; } }; DataSet.new(<a b c d>); 16:50
camelia ( no output )
jmerelo m: class DataSet is SetHash { submethod TWEAK { say 'hi'; } }; my $þ = DataSet.new(<a b c d>);
camelia ( no output )
jmerelo m: class DataSet is SetHash { has $.ð = 7; submethod TWEAK { say 'hi'; } }; my $þ = DataSet.new(<a b c d>);
camelia ( no output )
jmerelo m: class DataSet is SetHash { has $.ð = 7; submethod TWEAK() { say 'hi'; } }; my $þ = DataSet.new(<a b c d>); 16:51
camelia ( no output )
16:51 nekomune joined
jmerelo mijo888: I'm pretty sure this is something we're missing... because that should work. 16:52
m: class DataSet { has $.ð = 7; submethod TWEAK { say 'hi'; } }; my $þ = DataSet.new(); 16:53
camelia hi
jmerelo mijo888: OK, we're getting somewhere. 16:54
16:54 sno joined
mijo888 Thanks, I wasn't sure if I was missing something. 16:54
jmerelo mijo888: might be because somewhere the build chain is being interrupted. Shouldn't happen, but it might. new should call bless which calls BUILD.. and so on, but we might be missing something about the signature. 16:56
mijo888: meaning, we need to use a TWEAK with the self same signature as that one in the base class if we want it to be called. That should probably be documented.
mijo888: if you want, open an issue in the documentation. You can also ask in Stackoverflow or later on, might be a completely different reason. 16:57
mijo888 SetHash takes positional instead of named arguments, so I thought maybe that had something to do with it. But SetHash is a built-in class, so it seems like it should work as usual.
Right, thanks. I tried different Signatures, but couldn't find one that worked. 16:58
jmerelo mijo888: that should be documented, probably, as I said. Or maybe it's a bug. The example in the documentation, as a matter of fact, takes no arguments. 16:59
17:01 cpan-p6 left, cpan-p6 joined 17:02 mowcat joined 17:05 sno left 17:10 dylanwh_ is now known as dylanwh
cpan-p6 New module released to CPAN! gtk-v3 (0.8.1) by 03MARTIMM 17:19
17:23 mijo888 left 17:25 cpan-p6 left, cpan-p6 joined 17:26 ferreira joined 17:42 sno joined 17:47 sno left 17:48 leont left 17:49 cpan-p6 left, cpan-p6 joined, melezhik joined
melezhik Hi! I would like execute a piece of code before an object is destroyed, how can I do that? 17:50
sena_kun you can implement `DESTROY` submethod. 17:51
however, consider that as any(or almost any) language with GC, you cannot really argue when it will be and if it will be ever called. 17:52
read github.com/perl6/doc/issues/1606
b2gills .tell mijo888 The reason `class DataSet is SetHash {…}` doesn't call `TWEAK` is that `new` is overridden. (It is a bug that it doesn't fallback to the normal operation.) github.com/rakudo/rakudo/blob/mast...m6#L19-L36 18:04
yoleaux b2gills: I'll pass your message to mijo888.
jmerelo b2gills++ 18:05
18:09 molaf joined 18:12 domidumont joined, cpan-p6 left 18:13 cpan-p6 joined 18:17 sno joined 18:22 sno left 18:27 molaf left, dakkar left 18:30 melezhik left 18:33 kurahaupo left 18:34 kurahaupo joined 18:39 cpan-p6 left, cpan-p6 joined
discord6 <kawaii> What is my Perl 6 equivalent of IO::Socket::INET? 18:51
18:53 sno joined
Kaiepi discord6, help 18:57
hm
18:57 sno left, cpan-p6 left 19:02 kurahaupo left 19:03 kurahaupo joined
tadzik kawaii: it's IO::Socket::INET :P 19:03
docs.perl6.org/type/IO::Socket::INET
built-in
19:04 MidCheck left 19:06 guifa joined 19:07 mowcat left
discord6 <kawaii> that makes sense, thanks tadzik! 19:12
19:21 sena_kun left 19:24 sena_kun joined 19:27 sno joined 19:28 sauvin left 19:29 kurahaupo left 19:30 kurahaupo joined 19:32 sno left
mantovani the downside in learn Perl6 is that you don't want to use anything else, and I can't use Perl 6 at work. 19:35
:(
:'(
now my work is 100x boring than before
19:36 ravenousmoose joined 19:40 pecastro joined 19:41 zachk joined 19:44 ferreira left
tadzik what do you use at work? 19:45
mantovani: ^ 19:46
19:46 domidumont left
jmerelo .tell AlexDaniel can I do the extraofficial official announcement of the next version tomorrow? 19:53
yoleaux jmerelo: I'll pass your message to AlexDaniel.
19:53 jmerelo left 20:01 zakharyas left 20:02 sno joined 20:06 sno left 20:20 jimtron left 20:21 jimtron joined 20:24 dhyan_nataraj left, AlexDani` joined 20:26 AlexDaniel left, AlexDani` is now known as AlexDaniel 20:30 jimtron left 20:31 jimtron joined 20:35 reportable6 left, evalable6 left, notable6 left, greppable6 left, bisectable6_ left, notable6 joined, ChanServ sets mode: +v notable6 20:38 greppable6 joined, ChanServ sets mode: +v greppable6 20:39 bisectable6 joined, ChanServ sets mode: +v bisectable6, sno joined, reportable6 joined, ChanServ sets mode: +v reportable6, evalable6 joined 20:40 bloatable6 left, coverable6 left, undersightable6 left, statisfiable6 left 20:41 cpan-p6 joined, statisfiable6 joined, ChanServ sets mode: +v statisfiable6 20:43 undersightable6 joined, ChanServ sets mode: +v undersightable6, bloatable6 joined, sno left 20:44 coverable6 joined, ChanServ sets mode: +v coverable6 20:47 ferreira joined 20:51 jimtron left 20:53 netrino joined 20:56 jimtron joined 20:59 ravenousmoose left 21:01 jimtron left 21:02 jimtron joined 21:06 cpan-p6 left, cpan-p6 joined 21:14 jimtron left 21:15 jimtron joined 21:16 molaf joined 21:17 sno joined, ravenousmoose joined 21:19 pmurias joined 21:20 drclaw joined 21:21 sno left 21:23 jimtron left 21:24 jimtron joined 21:25 jimtron left 21:27 jimtron joined 21:30 cpage joined, cpan-p6 left 21:31 cpan-p6 joined 21:34 sena_kun left 21:36 zachk left, zachk joined, jimtron left, jimtron joined 21:38 jimtron left 21:40 jimtron joined 21:44 cpan-p6 left 21:45 cpan-p6 joined 21:47 sortiz joined 21:50 ravenousmoose left, netrino left 21:51 netrino joined 21:52 sno joined 21:53 jimtron left 21:54 jimtron joined 21:56 sno left 21:57 mijo888 joined 22:06 sortiz left 22:07 jimtron left, cpan-p6 left, sortiz joined, jimtron joined, cpan-p6 joined 22:09 laidback_01 left 22:12 mijo888 left
discord6 <kawaii> docs.perl6.org/routine/pack 22:15
<kawaii> is this the same as perl 5's 'pack'?
tadzik pretty much, yes
AlexDaniel .tell jmerelo sure 22:22
yoleaux AlexDaniel: I'll pass your message to jmerelo.
SmokeMachine class DataSet  is SetHash { submethod TWEAK(|)  { say 'hi'; } };  DataSet.new(<a b c d>);
m: class DataSet  is SetHash { submethod TWEAK(|)  { say 'hi'; } };  DataSet.new(<a b c d>); 22:23
camelia ( no output )
AlexDaniel El_Che: IT HAPPENED!!! 22:25
El_Che: in case you later say that it was too quiet :) 22:26
discord6 <kawaii> I'm working on a Perl 6 port of Net::RCON, it's pretty much my first self-written module, would anyone be so kind as to perhaps provide any feedback so far, tips and ways I can improve? I'd really like to contribute to the ecosystem more. github.com/shuppet/p6-net-rcon/blo...t/RCON.pm6 22:30
22:30 sno joined, cpan-p6 left
discord6 <kawaii> (the original module can be found here, fastapi.metacpan.org/source/CHANDW...t/RCON.pm) 22:30
22:30 cpan-p6 joined 22:34 jimtron left 22:36 sortiz left 22:47 cpan-p6 left 22:48 cpan-p6 joined 22:54 sortiz joined, ravenousmoose joined 22:58 ravenousmoose left 22:59 molaf left
Kaiepi kawaii: i'd read docs.perl6.org/language/objects, you're writing this as if it's a perl 5 class 23:01
kawaii: also no need to 'use IO::Socket::INET', it's a core module
23:01 jimtron joined 23:02 jimtron left 23:03 sortiz left, jimtron joined 23:11 cpan-p6 left, cpan-p6 joined
discord6 <kawaii> Keiepi: yes the idea is to refactor so it's $connection.authenticate(); and so on, but this is a start :] 23:17
<kawaii> and thanks! I assume no need for IO::Socket::INET in the dependencies section of my META6 file either? 23:18
23:24 |oLa| left 23:26 jimtron left 23:31 Black_Ribbon joined 23:35 cpan-p6 left 23:36 cpan-p6 joined 23:37 lucasb left 23:39 pmurias left 23:45 cjkinni joined 23:50 cpan-p6 left, cpan-p6 joined, pecastro left 23:54 |oLa| joined