»ö« 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.
00:06 netrino left 00:11 netrino joined 00:14 Sgeo_ joined 00:15 MilkmanDan left 00:16 MilkmanDan joined 00:18 Sgeo__ left 00:21 Manifest0 left 00:26 Sgeo__ joined 00:28 Manifest0 joined 00:30 Sgeo_ left 00:40 Manifest0 left 00:45 netrino left, Manifest0 joined
cpan-p6 New module released to CPAN! FindBin::libs (0.0.1) by 03LEMBARK 00:46
00:50 netrino joined 00:55 Manifest0 left 00:58 Manifest0 joined 00:59 sena_kun left 01:06 Manifest0 left 01:12 Manifest0 joined 01:23 netrino left, Manifest0 left 01:26 avsp joined 01:27 avsp left 01:28 Manifest0 joined 01:29 netrino joined 01:46 noisegul_ joined 01:48 Manifest0 left 01:50 noisegul left 01:53 molaf left, Manifest0 joined, aborazmeh left 02:00 qiqi joined 02:02 netrino left, Manifest0 left 02:05 molaf joined 02:07 qiqi left 02:08 netrino joined, Manifest0 joined 02:13 Manifest0 left, elcaro left 02:17 Manifest0 joined 02:22 Manifest0 left 02:23 adu joined 02:24 atweiden-air joined, aindilis joined 02:29 redhands left, Manifest0 joined 02:33 Manifest0 left 02:40 Manifest0 joined 02:41 netrino left 02:47 netrino joined 02:57 ayerhart joined 03:03 kaare__ left 03:04 kaare__ joined 03:12 Manifest0 left 03:16 Manifest0 joined 03:21 Manifest0 left, netrino left 03:22 Cabanossi left 03:26 netrino joined, Manifest0 joined 03:29 Cabanossi joined 03:35 Manifest0 left 03:37 swissChili joined 03:40 Manifest0 joined
swissChili Hey folks, I'm trying to learn perl6 again, I've used perl5 estensively but am fairly new to perl6. How can I check if a file exists in p6? 03:40
I've looked on the subroutine docs and can't find anything 03:41
sjn m: say "/etc".IO.e 03:42
camelia True
sjn it's an IO method 03:43
m: say "/etc/example".IO.e
camelia False
sjn swissChili: docs at doc.perl6.org/routine/e 03:44
a good place to start when you already know Perl 5 is to check out the migration guides at doc.perl6.org/language.html 03:46
swissChili great, thank you so much! 03:48
From what I gather perl style flags (-e, -m, etc) aren't a thing in p6, is that correct?
03:51 veesh left 03:52 Manifest0 left 03:53 kurahaupo_ joined 03:56 kurahaupo left 03:57 veesh joined 03:58 Manifest0 joined 03:59 netrino left 04:05 swissChili left, netrino joined, Manifest0 left, swissChili joined 04:10 Manifest0 joined 04:15 nadim_ joined 04:16 atweiden-air left 04:18 melezhik joined 04:21 molaf left 04:25 swissChili left 04:27 Manifest0 left 04:31 melezhik left 04:32 Manifest0 joined 04:36 Manifest0 left 04:40 netrino left, cpup left 04:41 cpup joined 04:42 Manifest0 joined 04:44 netrino joined 04:52 Manifest0 left 04:53 curan joined 04:56 Manifest0 joined, nadim_ left 05:03 Manifest0 left 05:07 Sgeo_ joined 05:08 Manifest0 joined 05:11 Sgeo__ left 05:13 Manifest0 left 05:14 sauvin joined 05:18 Manifest0 joined 05:20 jmerelo joined 05:23 robertle left 05:28 Sgeo__ joined 05:32 Sgeo_ left, eseyman left, Manifest0 left 05:38 Manifest0 joined 05:41 espadrine_ joined 05:42 cpup left 05:43 nadim_ joined
Geth doc: 311e8d2038 | (JJ Merelo)++ | 2 files
Reflows and moves unique to the indep routines refs #1518
05:50
doc: 03f0e18fcf | (JJ Merelo)++ | 2 files
squish and repeated were not really in List

Moved to independent routines, with the sub only definition. Refs #1518
doc: 2c66df86b0 | (JJ Merelo)++ | doc/Type/List.pod6
Reflows, closes #2823
synopsebot Link: doc.perl6.org/type/List
05:51 Manifest0 left 05:53 eseyman joined 05:56 Manifest0 joined 06:06 Manifest0 left
Geth doc: 0ad9db1362 | (JJ Merelo)++ | doc/Type/Routine.pod6
Reflow while preparing for #2824
06:11
doc: 99dea0cf21 | (JJ Merelo)++ | doc/Type/Routine.pod6
Moves is default with the other traits #2824
synopsebot Link: doc.perl6.org/type/Routine
doc: 0d62e8fa52 | (JJ Merelo)++ | doc/Type/Routine.pod6
Adds information on is raw, closes #2824
06:12 cpup joined, Manifest0 joined 06:13 nadim_ left 06:14 espadrine_ left
jmerelo releasable6: status 06:15
releasable6 jmerelo, Next release in ≈27 days and ≈12 hours. 1 blocker. 140 out of 451 commits logged (⚠ 2 warnings)
jmerelo, Details: gist.github.com/c5643bf123d16b9a86...3184a2a586
06:19 netrino left 06:20 nadim_ joined 06:24 netrino joined 06:29 Manifest0 left 06:34 Manifest0 joined 06:41 jmerelo left 06:47 vrurg left 06:51 nadim_ left 06:56 netrino left 07:02 Manifest0 left 07:04 netrino_ joined 07:07 Manifest0 joined 07:11 Manifest0 left 07:12 kurahaupo_ left, kurahaupo joined 07:19 Manifest0 joined 07:20 vrurg joined 07:27 vrurg left 07:29 Manifest0 left 07:33 nadim_ joined, BuildTheRobots left 07:34 isimulate left 07:35 kip left, PotatoGim left 07:36 isacl___ left, mrsolo left 07:40 tbrowder left, Manifest0 joined 07:42 BuildTheRobots joined, BuildTheRobots left 07:43 mrsolo joined, isimulate joined, tbrowder joined, isacl___ joined, PotatoGim joined 07:44 kip joined, rindolf joined, BuildTheRobots joined, BuildTheRobots left 07:45 BuildTheRobots joined 07:55 Manifest0 left 07:57 vrurg joined 08:00 Manifest0 joined 08:03 timeless left, BuildTheRobots left
lizmat weekly: digitalbarbedwire.com/2019/05/23/s...challenge/ 08:04
notable6 lizmat, Noted!
08:04 timeless joined, caasih left, caasih joined 08:05 kip left 08:08 BuildTheRobots joined 08:09 kip joined 08:11 vrurg left 08:15 isacl___ left 08:16 kybr left 08:17 kybr joined 08:19 isacl___ joined 08:20 netrino_ left 08:24 Manifest0 left 08:25 netrino_ joined 08:29 Manifest0 joined, zakharyas joined 08:36 netrino_ left 08:37 cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined, vrurg joined 08:46 Manifest0 left 08:50 netrino_ joined 08:51 Manifest0 joined 08:52 satori__ left 08:58 Manifest0 left 08:59 feldspath joined 09:01 robertle joined 09:03 dolmen joined 09:04 dolmen left, vrurg left, feldspath left, feldspath joined 09:05 dolmen joined 09:06 Manifest0 joined 09:09 feldspath left 09:20 Manifest0 left 09:23 netrino_ left 09:26 Manifest0 joined 09:28 nadim_ left 09:29 netrino_ joined
holyghost I'm off for the weekend, take care 09:29
yoleaux 23 May 2019 13:50Z <vrurg> holyghost: Thanks! Any help with any platform is welcome for sure. I would most likely close the existing openbsd ticket. So, feel free to open a new one.
09:30 holyghost left 09:31 nadim_ joined 09:33 vrurg joined 09:46 Manifest0 left 09:51 Manifest0 joined 09:52 robertle left
cpan-p6 New module released to CPAN! Log::Timeline (0.1) by 03JNTHN 09:54
09:59 vrurg left 10:07 netrino_ left 10:09 netrino_ joined 10:11 pmurias joined
Geth ¦ problem-solving: AlexDaniel assigned to jnthn Issue Language revision dependent spectests: change the approach. github.com/perl6/problem-solving/issues/31 10:15
10:16 |Sno| left 10:19 fvox left 10:24 fvox joined 10:28 pmurias left 10:29 dolmen left 10:33 vrurg joined 10:39 Manifest0 left 10:40 antoniogamiz joined, robertle joined 10:41 netrino_ left 10:44 Manifest0 joined, [Sno] joined 10:48 netrino_ joined, Manifest0 left 10:53 Manifest0 joined 10:58 Manifest0 left 11:01 elcaro joined
elcaro m: { say (2, 4 ... 500_000); say (now - ENTER now).Int } 11:02
camelia (2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152…
elcaro bisectable6: { say (2, 4 ... 1_000_000); say (now - ENTER now).Int < 1 }
moritz m: { (2, 4 ... 500_000).join; say (now - ENTER now).Int }
camelia 3
bisectable6 elcaro, Bisecting by output (old=2015.12 new=0023f64) because on both starting points the exit code is 0
elcaro something going odd with large gists
taking a long time to gist, like it's egarly evaluating 11:03
hmmm
maybe a prob with me only ?
AlexDaniel bisectable should trim too large output…
11:03 Manifest0 joined
bisectable6 elcaro, bisect log: gist.github.com/a2564932778bc3e1b2...0ad11cf79e 11:03
elcaro, (2019-03-02) github.com/rakudo/rakudo/commit/8f...c4b46ea8fe
11:03 vrurg left
moritz m: { (2, 4 ... 500_000).gist; say (now - ENTER now).Int } 11:04
camelia 3
elcaro should be instant
moritz why? it's not infinite
elcaro it is on my old 2018.04
check the bisect
moritz m: { say (2, 4 ... 500_000).gist.chars; say (now - ENTER now).Int }
camelia 352
3
AlexDaniel elcaro: ah it was taking long to time out
11:05 sena_kun joined
AlexDaniel c: 8f424c9d8e^,8f424c9d8e { say (2, 4 ... 1_000_000); say (now - ENTER now).Int < 1 } 11:05
committable6 AlexDaniel, gist.github.com/1e4fa2fe9d903b10ad...eccfbb27d2
AlexDaniel or not
c: 8f424c9d8e^,8f424c9d8e { say (2, 4 ... 1_000_000); say (now - ENTER now).Int }
committable6 AlexDaniel, gist.github.com/e1ff352cd834b76a20...baec89fd98
AlexDaniel anyway, yeah, looks like a bug to me
elcaro: please file a ticket :) 11:06
c: 8f424c9d8e^,8f424c9d8e say (2, 4 ... 1_000_000).is-lazy 11:07
elcaro AlexDaniel: Will do
committable6 AlexDaniel, ¦8f424c9d8e^,8f424c9: «False␤»
AlexDaniel c: 8f424c9d8e^,8f424c9d8e say (2, 4 ... 1_000_000).is-lazy; say (now - ENTER now).Int
committable6 AlexDaniel, ¦8f424c9d8e^: «False␤0␤» ¦8f424c9: «False␤6␤»
11:07 curan left
AlexDaniel so is-lazy itself iterates the thing? Hah 11:07
lizmat: ↑
lizmat interesting, please make an issue :-) 11:09
elcaro lizmat: I'm on it
11:10 zakharyas left
lizmat .Seq(3) @0 11:13
├ 0 = Scalar: 1(0).Str
├ 1 = Scalar: 10000(5747).Str
└ 2 = Int: 4238(0).Str
oops, ww
elcaro Issue #2920 raised 11:15
lizmat elcaro++ 11:16
11:16 cpan-p6 left, satori__ joined 11:17 cpan-p6 joined, cpan-p6 left, cpan-p6 joined, satori__ left 11:22 netrino_ left 11:27 netrino_ joined 11:33 vrurg joined 11:40 Manifest0 left 11:45 Manifest0 joined 11:48 hahainternet left, kubrat left 11:50 Guest9223 left, hahainternet joined, kubrat joined 11:53 success joined, success is now known as Guest23886 11:58 Manifest0 left 12:00 vrurg left, netrino_ left 12:03 dolmen joined 12:04 Manifest0 joined 12:06 netrino_ joined 12:16 feldspath joined 12:19 squashable6 left 12:21 llfourn left 12:23 squashable6 joined, ChanServ sets mode: +v squashable6 12:28 Manifest0 left 12:29 vrurg joined 12:32 llfourn joined 12:33 Manifest0 joined 12:37 Manifest0 left 12:39 netrino_ left 12:43 vrurg left 12:44 Manifest0 joined 12:45 netrino_ joined 12:48 aborazmeh joined, aborazmeh left, aborazmeh joined 12:57 Manifest0 left 12:59 vrurg joined 13:01 Manifest0 joined 13:04 antoniogamiz left 13:05 zakharyas joined 13:10 Manifest0 left 13:15 MilkmanDan left 13:16 Manifest0 joined 13:17 MilkmanDan joined 13:18 netrino_ left 13:22 molaf joined 13:24 netrino_ joined 13:31 Manifest0 left 13:33 johnjohn101 joined 13:39 dolmen left, Manifest0 joined 13:40 dolmen joined 13:47 Manifest0 left 13:54 ravenousmoose left 13:55 Manifest0 joined 13:56 yqt joined 13:58 netrino_ left, molaf left 14:03 netrino_ joined 14:12 dolmen left
nadim_ lizmat: Nice oops, what about wrapping things up a bit? note the coloring of the class, if you want to, so you can see what's yours and wha't Perl's 14:25
nopaste.linux-dev.org/?1203424
14:36 netrino_ left 14:37 Manifest0 left 14:39 zacts joined, squashable6 left 14:40 aindilis left 14:42 squashable6 joined, ChanServ sets mode: +v squashable6, netrino_ joined 14:43 Manifest0 joined
nadim_ m: bleah:(0) 14:45
camelia ===SORRY!===
This type (QAST::WVal) does not support positional operations
nadim_ It's not so much the error message above that is not helping but the fact that the compilation ends and there is no information about where in the file it happened
shall I report this somewhere? 14:46
14:46 skids joined 14:47 aindilis joined
timotimo yes, a rakudo ticket would be fine 14:47
nadim_ will do
14:50 zacts left
nadim_ timotimo: github.com/rakudo/rakudo/issues/2921 14:52
14:53 Sgeo__ left 14:54 Sgeo__ joined 14:56 jmerelo joined 14:59 nadim_ left 15:01 aborazmeh left
ugexe use --ll-exception? 15:03
15:05 molaf joined 15:11 Manifest0 left 15:15 netrino_ left, Manifest0 joined 15:17 robertle left 15:21 netrino_ joined 15:22 daxim left 15:25 ravenousmoose joined, jeromelanteri joined 15:35 molaf left, feldspath left 15:38 zacts joined 15:41 ravenousmoose left 15:48 zacts left 15:53 jeromelanteri left 15:54 Manifest0 left, netrino_ left 15:59 zakharyas left 16:00 Manifest0 joined, netrino_ joined 16:20 Manifest0 left 16:26 Manifest0 joined 16:28 zacts joined
Geth doc: JJ assigned to antoniogamiz Issue Make link checker work locally; make it a test github.com/perl6/doc/issues/1433
d60e8a0de5 | (JJ Merelo)++ | doc/Language/list.pod6
16:32
16:33 netrino_ left 16:39 netrino_ joined
jmerelo m: my @lazy-array = lazy 1, 11, 121 ... 10**100; 16:39
camelia ( no output )
jmerelo m: my @lazy-array = lazy 1, 11, 121 ... 10**100; say @lazy-array.^name 16:40
camelia Array
16:41 nadim_ joined
doc: bb48e46478 | (JJ Merelo)++ | doc/Language/list.pod6
Clarifying roles and reflowing.

Closes #2139
synopsebot Link: doc.perl6.org/language/list
16:50 aindilis left, redhands joined 16:57 aindilis joined, Manifest0 left 17:01 zacts left 17:04 Manifest0 joined 17:08 zacts joined 17:09 yqt left 17:12 netrino_ left
timotimo kawaii: is the discord irc bot sick? 17:13
17:13 zacts left
kawaii timotimo: uh not sure, I didn't create/maintain it sorry! 17:14
timotimo your name just came to mind when i thought "discord" :P 17:15
17:15 ravenousmoose joined
timotimo oh, it's tyil who runs it, isn't it? 17:15
17:16 ravenousmoose_ joined
AlexDaniel maettu, rba: ↑ 17:18
another thing you should be aware of :)
17:18 netrino_ joined
timotimo ah, good point 17:19
17:19 ravenousmoose left 17:24 zacts joined 17:26 ravenousmoose_ left 17:29 zacts left 17:38 pecastro joined
sena_kun is github.com/perl-gsoc-2019/ideas/bl...linking.md accepted, right? and it means an ability to ship a single binary, right? 17:41
lizmat yes, I think that is indeed the goal 17:43
sena_kun thanks 17:44
17:46 robertle joined
rba Hmm. What is the discord irc bot? 17:50
17:50 tyil left 17:51 netrino_ left, Geth left, Geth joined, tyilanmenyn joined
jmerelo sena_kun: yep. It's now in the community bonding phase, but I'm not sure how they are doing. 17:51
17:51 discord6 joined
MasterDuke sena_kun, jmerelo: they're discussing in #moarvm right now 17:52
jmerelo MasterDuke: great
17:52 netrino_ joined
MasterDuke rba: bridges the discord room and this channel 17:52
jmerelo Thanks!
sena_kun jmerelo, I see, so that's what I thought. Just got asked by a friend, "Can Perl 6 give binaries?" and I responded with "There is a gsoc project doing this year", but then wanted to re-confirm I am right. :) 17:53
s/this/this this/ 17:54
17:54 jmerelo left
MasterDuke sena_kun: i think samcv did something with flatpak already and jnthn has App::Wix for windows if they don't mind big files 17:54
samcv yeah there is some flatpak thing. i think somebody else did it better though 17:55
17:55 redhands left
samcv not sure. otherwise ask me and i'll show you my repo. 17:55
17:55 discord6 left
samcv did we fix the issue that perl 6 can't be relocated yet? 17:55
sena_kun I think "yes" 17:56
MasterDuke yeah
samcv ok. then yeah. my package works but can be simplified now :)
maybe why it's failing the build. in addition to maybe other things. i used to have to use sed on binary files to change the directory :)
kawaii timotimo: ah, no it's the API::Discord module I maintain :)
samcv so now it's muchhh easier to do :)
sena_kun I told there are docket images available, so it is probably enough
*docker
samcv yeah. my appimage is not production ready anyway. modules were. weird 17:57
random module breakyness
can't install modules etc
17:58 Geth_ joined, synopsebot_ joined 18:03 caa51h joined 18:05 redhands joined
timotimo samcv: wasn't that AppImage? 18:06
ah, you also mentioned those
18:10 kaare__ left, kaare__ joined 18:11 espadrine_ joined 18:13 Sgeo__ left
samcv yep 18:13
18:13 Sgeo__ joined 18:18 tyilanmenyn left 18:20 discord6 joined 18:24 ravenousmoose_ joined 18:25 discord6 left 18:27 sauvin left 18:36 Manifest0 left 18:38 khisanth_ left 18:42 Manifest0 joined 18:49 Manifest0 left 18:50 cpan-p6 left, khisanth_ joined 18:54 Manifest0 joined 18:58 antoniogamiz joined 19:03 Manifest0 left 19:08 Manifest0 joined
kawaii It'd be interesting to see Java binaries to run Perl 6 code, I expect something is possible with the JVM backend. 19:08
19:10 pecastro left 19:15 reach_satori joined 19:20 MasterDuke left 19:21 synopsebot left 19:25 Geth left, ravenousmoose_ left 19:28 ravenousmoose_ joined 19:33 Manifest0 left 19:34 natrys joined 19:37 Manifest0 joined 19:40 synopsebot_ left 19:42 veesh left 19:43 synopsebot joined 19:49 veesh_ joined, veesh_ is now known as veesh 19:51 synopsebot__ joined, discord6 joined, Geth joined 19:52 discord6 left, discord6 joined, discord6 left, discord6 joined
antoniogamiz can someone tell me difference between when :(Pod::FormattingCode $) and :("",Pod::FormattingCode $,"") 19:53
?
sena_kun antoniogamiz, where is this from?
antoniogamiz htmlify 19:54
there's a comment that says # XXX: Remove when extra "" have been purged 19:55
sena_kun both are signatures, first one takes a Pod::FormattingCode object(though leaves it anonymous), the second takes three arguments, two are constant empty strings, in between there is a Pod::FormattingCode.
m: sub foo("", Int $_, "") { say $_ }; foo('', 42, '') 19:56
camelia 42
sena_kun m: sub foo("", Int $_, "") { say $_ }; foo('', 42)
camelia Too few positionals passed; expected 3 arguments but got 2
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
sena_kun m: sub foo("", Int $_, "") { say $_ }; foo('', 42, 'bar')
camelia Constraint type check failed in binding to parameter '<anon>'; expected "" but got "bar"
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
19:56 ravenousmoose_ left
sena_kun so it enforces a call like `'', $code, ''`, though I don't have an idea for what it can be necessary, you can be interested in taking a look at callers 19:57
antoniogamiz that happens a lot in htmilify xdd
thanks sena_kun
sena_kun I don't know what you are doing, I would just look at recent attempts to rewrite the whole thing from scratch... but that's just me. good luck, anyway. 19:59
s/doing, /doing, but / 20:00
antoniogamiz I'm trying to understand how definitions are made
20:00 discord6 left, veesh left 20:02 ravenousmoose_ joined
sena_kun would stick a `say $_` at github.com/perl6/doc/blob/master/h...fy.p6#L570 and something like `say normal`, `say a thing with weird "" around` in `when` blocks, and then run the thing to see what it prints out and what items go into ("", Pod::FormattingCode $, ""), and what items go into :(Pod::FormattingCode $), once you can figure the difference in input, you can think of what to do with it. 20:03
20:04 veesh joined 20:05 demond joined, discord6 joined, tyilanmenyn joined, demond left
antoniogamiz sena_kun: yep, I will do that :) 20:07
this is also to build tests and move that logic to Perl6::Documentable
sena_kun but it somehow seems very unidiomatic for me, so ++antoniogamiz if you will be able to get rid of it. ;) 20:08
20:08 cwilson left
antoniogamiz first I have to untagle it haha 20:09
sena_kun yes, that's for sure
20:09 ufobat__ joined 20:10 discord6 left 20:11 redhands left, skids left 20:13 ufobat_ left 20:17 tyilanmenyn left 20:19 synopsebot left, Geth_ left
antoniogamiz surprise, that case does not even run in the full set docs 20:20
sena_kun .oO ( rip and tear, rip and tear ) 20:21
antoniogamiz :D
20:25 discord6 joined, discord6 left, discord6 joined, redhands joined 20:26 MasterDuke joined, MasterDuke left, MasterDuke joined 20:27 synopsebot joined, Geth__ joined
MasterDuke kawaii: the truffle branch of nqp can make binaries with graalvm that start instantly 20:27
20:29 discord6 left 20:31 discord6 joined 20:33 discord6 left 20:35 redhands left
antoniogamiz use say everywhere is the best debugger :D 20:39
sena_kun I remember Comma to be unable to parse htmlify, not sure if it is so today 20:40
antoniogamiz Comma? 20:41
sena_kun commaide.com/
20:41 Manifest0 left
antoniogamiz uoh :oo 20:42
sena_kun yes, unfortunately, it cannot process htmlify.p6 as it is now. :/
antoniogamiz for the moment :D 20:43
sena_kun yup
jnthn sena_kun: Hm, why not? 20:44
sena_kun jnthn, it fails to parse it in multiple places
for example, `=begin` with an indentation, `>>` operation in an expression(which is a hard one) 20:45
kawaii I should probably update my Comma, still using the release version 20:46
sena_kun kawaii, hmm, what release? 20:47
20:47 Manifest0 joined
kawaii sena_kun: like the first public release of the community edition 20:47
jnthn Ah, then yes, there is a newer community one than that. :)
sena_kun and it fixes a number of bugs 20:48
kawaii can I just overwrite the files with the files from the new tarball? 20:49
20:50 discord6 joined, discord6 left, discord6 joined, tyilanmenyn joined
sena_kun better to put it in the sibling directory, and once you migrate, you can just remove the old one 20:50
jnthn sena_kun: Will see if I can figure out any of the htmlify.p6 issues...at least when I'm not distracting myself with $shiny-new-feature :) 20:51
sena_kun jnthn, good luck.
jnthn heh, for the =begin identation one and my recollection of the grammar there, "good luck" is indeed useful :)
20:51 discord6 left
sena_kun this way, I hope a grahical debugger will be helpful for antoniogamiz to hack on docs. ;) 20:52
antoniogamiz :) 20:54
20:55 uzl joined
uzl Hello #perl6! 20:56
sena_kun o/
timotimo greetings uzl
uzl So do I pass an array of values to a MAIN with an array signature? 20:57
20:57 Manifest0 left
uzl greetings, sena_kun and timotimo! 20:57
antoniogamiz o/
20:58 discord6 joined
AlexDaniel uzl: you mean like, properly? I don't think it actually works, but if you have sub MAIN(:@foo) you can then do --foo=42 --foo=43 20:58
it only works if you have zero, two or more elements 20:59
20:59 discord6 left
MasterDuke hm, didn't someone say they were going to work on that recently 21:00
21:00 discord6 joined
uzl AlexDaniel: Oh, I see! Do you think a similar behavior will ever be part of Rakudo? 21:00
21:00 [Sno] left
AlexDaniel uzl: it's already part of rakudo, it just doesn't work if you only pass one argument 21:01
21:01 [Sno] joined
AlexDaniel ah wait 21:01
github.com/rakudo/rakudo/issues/2797
according to this ticket, it was recently fixed
so lizmat++ and feel free to use it :) 21:02
uzl BTW, what does the '<foo>' symbolizes in the usage message? A list of values?
kawaii sena_kun: wow, Comma detected my previous installation and asked if I wanted to import my settings :O 21:03
sena_kun kawaii, well, it is based on IntelliJ, and IntelliJ does that. ;)
21:03 tyilanmenyn left
AlexDaniel uzl: it doesn't symbolize anything I think, IMO it should say foo instead of <foo> 21:04
sena_kun so you don't want to overwrite anything, really, just enough to get a new one, import settings, possibly remove the old one if you want, and get back to work with new features. :]
MasterDuke sena_kun: do i need any additional plugins to also use comma for c (moarvm) development?
21:04 Manifest0 joined
AlexDaniel uzl: although, if you have something like `sub MAIN(‘foo’)` 21:04
uzl: then it'll be foo instead of <foo>
uzl: man git seems to use a similar notation 21:06
where fixed strings like subcommands are shown as is and everything else is in <>
sena_kun MasterDuke, do we have a lot of Perl 6 code in moarvm? If it is (almost) pure C, then I'd take something that you are using usually.
MasterDuke sena_kun: not a lot of perl 6 code. i mean to use comma for the pure c 21:07
sena_kun MasterDuke, no, Comma is a Perl 6 IDE. You can try out CLion, which is based on IntelliJ as Comma is. 21:08
uzl AlexDaniel: Thanks for the explanation. I just noticed that the foo example in the issues uses a named array but I'm trying with a positional (e.g, sub MAIN(@foo) { ... }). 21:10
Is it possible to use a positional instead?
21:10 discord6 left
AlexDaniel uzl: yes, just has to be *@foo 21:10
uzl Oh, great! Thanks. The reason why it needs the '*' is the same reason why one would use in a regular subroutine right? 21:13
I mean... for the slurpy behavior.
21:15 patrickb joined
AlexDaniel uzl: I guess, but it makes me wonder why `sub MAIN(@foo)` works at all 21:15
shouldn't it complain or something?
uzl It doesn't work on my end! That's why I was struggling with it ;-)! 21:17
nadim_ I have a sub that returna Str but I want it to return a variable container. how does one do that?
uzl It prints out the usage message.
21:17 synopsebot left
uzl nadim_: return-rw? 21:17
nadim_ ah, right! 21:18
uzl nadim_: docs.perl6.org/syntax/%20return-rw
21:18 redhands joined
nadim_ I read about it yesterday :) memory is not so goodany longer 21:18
but what if one wants to return some variables as rw and other ro? 21:19
uzl I'm not a 100% sure but wouldn't using just `return` returns a value which means it's ro since it cannot be mutated? 21:21
Or do you mean returning both from the same subroutine?
nadim_ returning both 21:22
21:22 synopsebot joined, |oLa| joined
uzl Sorry but I'm not sure :(! 21:23
21:23 |oLa| left
nadim_ no problem ;) 21:23
AlexDaniel uzl: this works for me: perl6 -e 'sub MAIN(*@foo) { dd @foo }' foo bar baz
e: run <perl6 -e>, 「sub MAIN(*@foo) { dd @foo }」, <foo bar baz> 21:24
evalable6 Array element = ["foo", "bar", "baz"]
21:24 redhands left
AlexDaniel uzl: oh, you mean with just @foo? Yeah… 21:24
doesn't complain and doesn't work 21:25
uzl AlexDaniel: Yeah, it works for me too. I was just confirming that without the *, the usage message is printed.
with just @foo
So I guess it's working as expected
21:27 ravenousmoose_ left 21:29 synopsebot left 21:32 Geth__ left 21:37 Manifest0 left 21:39 uzl left, uzl joined 21:40 veesh left 21:42 Manifest0 joined, uzl left 21:44 synopsebot__ left 21:47 synopsebot joined 21:53 Manifest0 left, Geth_ joined 21:54 synopsebot__ joined 21:57 Geth_ left 21:58 Manifest0 joined 22:03 Geth__ joined 22:04 Manifest0 left 22:06 antoniogamiz left 22:09 Manifest0 joined, patrickb left 22:12 natrys left 22:24 Manifest0 left 22:29 Manifest0 joined 22:33 Manifest0 left 22:40 Manifest0 joined
lizmat weekly: blogs.perl.org/users/laurent_r/2019...kings.html 22:47
notable6 lizmat, Noted!
22:55 Manifest0 left, johnjohn101 left 23:01 Manifest0 joined 23:05 Manifest0 left 23:07 adu left 23:10 Manifest0 joined 23:12 molaf joined 23:13 Geth__ left, synopsebot__ left 23:19 Geth___ joined, synopsebot___ joined 23:21 tyilanmenyn joined 23:22 Geth left 23:27 Geth joined, Manifest0 left 23:32 aborazmeh joined, aborazmeh left, aborazmeh joined, Manifest0 joined 23:36 tyilanmenyn left, Manifest0 left 23:41 Manifest0 joined 23:43 rindolf left 23:45 redhands joined 23:47 synopsebot___ left 23:49 synopsebot_ joined 23:54 aborazmeh left 23:57 Geth___ left, synopsebot_ left