Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-02-23

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 kurahaupo joined #perl6
00:10 mcmillhj joined #perl6
00:14 tbrowder Zoffix: that module was renamed Net::IP so i could tag it CPAN5 for lizmat’s butterfly effort. i am happy to remove the *Lite version.
00:14 yoleaux 22 Feb 2018 23:42Z <Zoffix> tbrowder: build log shows your cpan://id/T/TB/TBROWDER/Perl6/Net-IP-Lite-Perl6-1.0.1.meta having invalid JSON in its meta file. Was that ever meant to be a valid module? If not, you should delete it from PAUSE https://pause.perl.org/pause/authenquery?ACTION=delete_files
00:24 sharksoft joined #perl6
00:29 mcmillhj joined #perl6
01:01 pierre_ joined #perl6
01:05 mcmillhj joined #perl6
01:24 mcmillhj joined #perl6
01:26 comborico1611_ joined #perl6
01:27 MasterDuke joined #perl6
01:32 astj joined #perl6
01:35 comborico1611_ I'm just now finding out about NixOS.
01:41 mcmillhj joined #perl6
01:52 pharv joined #perl6
02:01 mcmillhj joined #perl6
02:10 pharv joined #perl6
02:15 Kaiepi joined #perl6
02:17 khisanth_ joined #perl6
02:18 mcmillhj joined #perl6
02:20 Lynx_ joined #perl6
02:24 tbrowder .tell Zoffix i have "deleted" all Net::IP::Lite files from CPAN.
02:24 yoleaux tbrowder: I'll pass your message to Zoffix.
02:26 MasterDuke joined #perl6
02:29 mcmillhj joined #perl6
02:36 jeromelanteri joined #perl6
02:37 galactus6x joined #perl6
02:38 galactus6x hello.
02:38 galactus6x i have some questions about the use of perl6
02:39 galactus6x i am a bit weary of the python evangelicals. i want to use perl as my scripting and glue language.
02:40 mcmillhj joined #perl6
02:40 galactus6x does anyone know what i can do with perl6? as far as data science. i want to use it along with R.
02:43 MasterDuke galactus6x: well, perl 6 doesn't anything quite like numpy or scipy yet, but yeah, it's a good scripting/glue language
02:55 MasterDuke NativeCall makes it easy to call C/C++ libs
02:55 galactus6x thanks!
02:55 MasterDuke have you used python much?
02:55 galactus6x i am currently debating what to use either python or R and I just am fed up with always being told to use python.
02:55 galactus6x perl6 looks intriguing.
02:55 galactus6x do you use python MasterDuke?
02:55 MasterDuke no, but the docs do have a "from python" section. https://docs.perl6.org/language/py-nutshell
02:55 Zoffix joined #perl6
02:56 ilbot3 joined #perl6
02:56 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:57 athenot_ joined #perl6
02:58 galactus6x thanks for your help Zoffix. hey, how well does perl6 work with Catalyst or Dancer?
03:01 Zoffix galactus6x: you'd need to use Inline::Perl5 for them. There's these slides from presentation by the author of Inline::Perl5 and there are a few Catalyst slides (starting with 36): http://niner.name/talks/Web%20development%20and%20Perl%206/Web%20development%20and%20Perl%206.pdf
03:01 Zoffix galactus6x: I think a year and a half ago, the lead dev of Catalyst was trying it out married with Perl 6 and they didn't have a huge amount of luck.
03:02 galactus6x will it always have to be an inline? or does it matter?
03:03 Zoffix galactus6x: it'd always have to be that module, yeah. Perl 5 and Perl 6 are different languages. But code itself it's not as in strings with code. Once you load the module, the stuff mostly looks and behaves like normal.
03:03 syntaxman joined #perl6
03:04 galactus6x okay. thank you for all the help.
03:05 Zoffix buggable the bot actually uses Inline::Perl5. It got this Perl 5 code: https://github.com/zoffixznet/perl6-buggable/blob/master/lib5/Buggable/CPANUploads.pm  that it loads here: https://github.com/zoffixznet/perl6-buggable/blob/master/lib/Buggable/Plugin/CPANUploads.pm6#L6 and here it loads it just as if it were a Perl 6 class:
03:05 Zoffix https://github.com/zoffixznet/perl6-buggable/blob/master/lib/Buggable/Plugin/CPANUploads.pm6#L9 and using hashrefs from Perl 5 land as if they were normal Perl 6 hashes here: https://github.com/zoffixznet/perl6-buggable/blob/master/lib/Buggable/Plugin/CPANUploads.pm6#L26-L27
03:06 syntaxman joined #perl6
03:06 galactus6x left #perl6
03:07 Zoffix (it's not always that smooth going tho... I wrote that Perl 5 module because IIRC I had trouble writing the code it has directly in Perl 6, via Inline::Perl5. It was easier to just write a Perl 5 module with a single class and method and load that instead)
03:07 kurahaupo_ joined #perl6
03:08 kurahaupo_ joined #perl6
03:10 Zoffix Eh, they left before I had a chance to mention Cro. http://mi.cro.services/
03:12 Faster-Fanboi joined #perl6
03:12 syntaxman joined #perl6
03:13 mcmillhj joined #perl6
03:17 buggable joined #perl6
03:17 Zoffix eco: Inline::Python
03:17 buggable Zoffix, Inline::Python 'Use Python code and libraries in a Perl 6 program': https://github.com/niner/Inline-Python
03:17 Zoffix Downgraded to https://github.com/timo/json_fast/archive/f8b5561fdb5882263898aa1e6b5d962a50898bb1.zip
03:20 ufobat_ joined #perl6
03:24 mcmillhj joined #perl6
03:41 pierre joined #perl6
03:41 mcmillhj joined #perl6
03:55 gabiruh joined #perl6
03:56 mcmillhj joined #perl6
03:59 pierre joined #perl6
04:08 gabiruh joined #perl6
04:09 pierre joined #perl6
04:11 mcmillhj joined #perl6
04:24 mcmillhj joined #perl6
04:48 gabiruh joined #perl6
04:51 pharv joined #perl6
04:52 mcmillhj joined #perl6
04:52 Faster-Fanboi joined #perl6
04:53 releasable6 joined #perl6
04:57 wamba joined #perl6
04:58 Cabanossi joined #perl6
05:02 AlexDaniel joined #perl6
05:11 mcmillhj joined #perl6
05:20 Faster-Fanboi joined #perl6
05:25 mcmillhj joined #perl6
05:28 gabiruh joined #perl6
05:40 curan joined #perl6
05:41 dustinm` joined #perl6
05:52 mcmillhj joined #perl6
06:13 AlexDaniel ⚠ Rakudo 2018.02.1 is out
06:13 AlexDaniel huggable: deb
06:13 huggable AlexDaniel, Alpine, CentOS, Debian, Fedora, OpenSUSE and Ubuntu Rakudo packages: https://github.com/nxadm/rakudo-pkg/releases
06:17 kurahaupo joined #perl6
06:21 pierre joined #perl6
06:22 kurahaupo joined #perl6
06:23 mcmillhj joined #perl6
06:38 astj joined #perl6
06:48 mcmillhj joined #perl6
06:52 pharv joined #perl6
06:58 astj joined #perl6
06:59 lowbro joined #perl6
06:59 lowbro joined #perl6
07:01 mcmillhj joined #perl6
07:03 co3plz joined #perl6
07:08 cdg joined #perl6
07:18 Wenjie1 joined #perl6
07:26 mcmillhj joined #perl6
07:31 S007 joined #perl6
07:35 eater joined #perl6
07:39 wamba joined #perl6
07:42 mcmillhj joined #perl6
07:51 kurahaupo_ joined #perl6
07:53 kurahaupo_ joined #perl6
07:53 lowbro joined #perl6
07:53 gabiruh joined #perl6
07:53 Cabanossi joined #perl6
07:53 sftp joined #perl6
07:53 lizmat joined #perl6
07:53 SourceBaby joined #perl6
07:53 xenotrope joined #perl6
07:53 ambs joined #perl6
07:53 synopsebot joined #perl6
07:53 p6lert joined #perl6
07:53 salva joined #perl6
07:53 grumble joined #perl6
07:54 kurahaupo joined #perl6
07:55 kurahaupo joined #perl6
07:56 squashable6 joined #perl6
07:56 bloatable6 joined #perl6
07:57 cog__ joined #perl6
07:57 APic joined #perl6
07:57 musca` joined #perl6
07:57 vike joined #perl6
07:57 coverable6 joined #perl6
07:57 greppable6 joined #perl6
07:57 statisfiable6 joined #perl6
07:57 simcop2387 joined #perl6
07:57 Ulti joined #perl6
07:57 mack[m] joined #perl6
07:57 tadzik joined #perl6
07:57 zostay joined #perl6
07:57 klapperl joined #perl6
07:57 cpup joined #perl6
07:59 noganex joined #perl6
08:02 perlbot joined #perl6
08:02 darutoko joined #perl6
08:03 Ven`` joined #perl6
08:03 APic joined #perl6
08:12 Cabanossi joined #perl6
08:14 SyrupThinker joined #perl6
08:15 mcmillhj joined #perl6
08:16 domidumont joined #perl6
08:16 Ven`` joined #perl6
08:16 |oLa| joined #perl6
08:17 cdg joined #perl6
08:20 domidumont joined #perl6
08:21 Wenjie1 joined #perl6
08:22 ambs joined #perl6
08:22 synopsebot joined #perl6
08:22 p6lert joined #perl6
08:22 SourceBaby joined #perl6
08:22 sftp joined #perl6
08:22 lowbro joined #perl6
08:22 salva joined #perl6
08:22 grumble joined #perl6
08:22 jeromelanteri joined #perl6
08:22 gabiruh joined #perl6
08:23 lizmat joined #perl6
08:26 mcmillhj joined #perl6
08:30 quotable6 joined #perl6
08:30 notable6 joined #perl6
08:30 unicodable6 joined #perl6
08:30 shareable6 joined #perl6
08:30 benchable6 joined #perl6
08:33 Ulti joined #perl6
08:33 musca` joined #perl6
08:33 klapperl joined #perl6
08:33 zostay joined #perl6
08:33 cpup joined #perl6
08:33 cog__ joined #perl6
08:34 vike joined #perl6
08:35 simcop2387 joined #perl6
08:40 mcmillhj joined #perl6
08:42 rindolf joined #perl6
08:45 domm joined #perl6
08:53 pharv joined #perl6
08:57 bloatable6 joined #perl6
08:57 squashable6 joined #perl6
09:00 mirlur[m] joined #perl6
09:08 sena_kun joined #perl6
09:08 markong joined #perl6
09:16 zakharyas joined #perl6
09:18 greppable6 joined #perl6
09:18 mcmillhj joined #perl6
09:20 robertle joined #perl6
09:23 zakharyas joined #perl6
09:24 khw joined #perl6
09:25 zakharyas joined #perl6
09:28 zakharyas joined #perl6
09:30 scimon joined #perl6
09:37 mcmillhj joined #perl6
09:43 pmurias joined #perl6
09:44 Ven` joined #perl6
09:47 CIAvash[m] joined #perl6
09:47 AlexDaniel` joined #perl6
09:47 unclechu joined #perl6
09:47 tadzik joined #perl6
09:47 mack[m] joined #perl6
09:47 Matthew[m] joined #perl6
09:47 ilmari[m] joined #perl6
09:47 wictory[m] joined #perl6
09:47 TuukkaX42 joined #perl6
09:47 mienaikage joined #perl6
09:47 Garland_g[m] joined #perl6
09:51 mcmillhj joined #perl6
09:52 pmurias joined #perl6
10:00 yoleaux joined #perl6
10:02 sena_kun joined #perl6
10:04 mcmillhj joined #perl6
10:06 astj joined #perl6
10:07 zakharyas joined #perl6
10:08 cdg joined #perl6
10:09 zakharyas joined #perl6
10:11 AlexDaniel joined #perl6
10:15 mcmillhj joined #perl6
10:23 Wenjie joined #perl6
10:29 astj joined #perl6
10:33 mcmillhj joined #perl6
10:41 astj joined #perl6
10:46 mcmillhj joined #perl6
10:47 AlexDaniel joined #perl6
10:54 pharv joined #perl6
11:01 scovit joined #perl6
11:02 jkramer AlexDaniel: I played around a bit with that bot restart feature of yours and found an easier and faster way to trigger a restart that doesn't require a full upgrade. ;) https://github.com/rakudo/rakudo/issues/1554#issuecomment-367978291
11:02 jkramer Hope that helps
11:02 jeromelanteri joined #perl6
11:02 AlexDaniel xD
11:03 AlexDaniel well, there *is* a killall command: https://github.com/perl6/whateverable/blob/177b77cb2ebc045736b8e7a1cf6eb8e25fdce7b6/Sakefile#L40
11:04 mcmillhj joined #perl6
11:05 AlexDaniel but I don't know if it works or not because 「rakudobrew build moar」 is so much more handy because it does two useful things at once :D
11:06 jkramer Yup, it actually is kind of a nice feature if you know about it :)
11:07 AlexDaniel timotimo: ↑ is it actually safe? I recall you were saying that something can go wrong if you do that
11:07 jkramer If someone accidentally removes it, I suggest adding `pkill -9 perl6` or something like that at the and of `make install` in case people rely on the feature
11:07 zakharyas joined #perl6
11:07 AlexDaniel xD
11:07 AlexDaniel https://xkcd.com/1172/
11:09 jkramer :D
11:09 * teatime notes that on many non-linux unixes, killall does not do what you want; not sure if those are supported platforms or not
11:11 jkramer I think pkill is more common than killall.
11:12 astj joined #perl6
11:12 jkramer Just run both to be safe :)
11:12 teatime (as in, killall kills all processes.)
11:17 astj joined #perl6
11:18 AlexDaniel all: say 42
11:18 committable6 AlexDaniel, https://gist.github.com/bb551f43d145d59c68f2aff2dee0357a
11:19 AlexDaniel what…
11:19 mcmillhj joined #perl6
11:29 kybr joined #perl6
11:31 grumble joined #perl6
11:35 mcmillhj joined #perl6
11:37 El_Che AlexDaniel: new rakudo packages: https://github.com/nxadm/rakudo-pkg/releases/tag/v2018.02.1
11:38 AlexDaniel El_Che: thanks!
11:48 p6lert joined #perl6
11:49 mcmillhj joined #perl6
11:49 p6lert joined #perl6
11:57 pierre_ joined #perl6
12:01 konsolebox joined #perl6
12:03 statisfiable6 joined #perl6
12:06 mcmillhj joined #perl6
12:17 mcmillhj joined #perl6
12:18 dogbert11 joined #perl6
12:26 Zoffix El_Che++ # packages
12:26 Zoffix left #perl6
12:27 llfourn o/ #perl6
12:28 llfourn I'm using perl6 to explore crypto related to cryptocurrencies: https://medium.com/unraveling-the-ouroboros/commitment-schemes-d599d21dfc88
12:28 Xliff AlexDanie: https://xkcd.com/1171/
12:30 mcmillhj joined #perl6
12:32 Ven`` joined #perl6
12:35 AlexDaniel weekly: https://irclog.perlgeek.de/perl6/2018-02-23#i_15850182
12:35 notable6 AlexDaniel, Noted!
12:35 AlexDaniel weekly:
12:35 notable6 AlexDaniel, 2 notes: 2018-02-19T03:14:40Z <AlexDaniel>: reportable: https://gist.github.com/a23d46247a4aed8a4205ffe96e69485b  ;  2018-02-23T12:35:06Z <AlexDaniel>: https://irclog.perlgeek.de/perl6/2018-02-23#i_15850182
12:35 AlexDaniel weekly: clear
12:35 notable6 AlexDaniel, Moved existing notes to “weekly_2018-02-23T12:35:28Z”
12:35 AlexDaniel weekly: “I'm using perl6 to explore crypto related to cryptocurrencies” https://irclog.perlgeek.de/perl6/2018-02-23#i_15850182
12:35 notable6 AlexDaniel, Noted!
12:36 pierre_ joined #perl6
12:36 llfourn AlexDaniel: wow, that's next level irc automation
12:37 llfourn thanks!
12:41 jeromelanteri joined #perl6
12:48 mcmillhj joined #perl6
12:51 wamba joined #perl6
12:55 pharv joined #perl6
12:55 Geth ¦ doc/master: 5 commits pushed by (Luca Ferrari)++
12:55 Geth ¦ doc/master: 57d7fc4479 | Update description of sleep-timer.
12:55 Geth ¦ doc/master: a0318e1923 | Improve the documentation of sleep-timer.
12:55 Geth ¦ doc/master: 1bf43f467b | Improve documentation of sleep-timer.
12:55 Geth ¦ doc/master: 991808378f | Minor improvement to the sleep-until function.
12:55 Geth ¦ doc/master: c58fe50d3d | Cross refernce from sleep-timer to sleep-until.
12:55 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/703f0d7ef7bb...c58fe50d3ddb
12:57 mcmillhj joined #perl6
13:13 Geth ¦ doc: 99484ea5ee | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Date.pod6
13:13 Geth ¦ doc: Fix few typos
13:13 Geth ¦ doc: review: https://github.com/perl6/doc/commit/99484ea5ee
13:13 synopsebot Link: https://doc.perl6.org/type/Date
13:13 wamba joined #perl6
13:17 pierre joined #perl6
13:22 Geth ¦ doc: aaf82dd527 | (Will "Coke" Coleda)++ | doc/Type/Date.pod6
13:22 Geth ¦ doc: fix typos
13:22 Geth ¦ doc: review: https://github.com/perl6/doc/commit/aaf82dd527
13:26 Geth ¦ doc: 081c272e86 | (Will "Coke" Coleda)++ | doc/Language/typesystem.pod6
13:26 Geth ¦ doc: note why we dont try to compile this test
13:26 Geth ¦ doc: review: https://github.com/perl6/doc/commit/081c272e86
13:26 synopsebot Link: https://doc.perl6.org/language/typesystem
13:43 zakharyas joined #perl6
13:46 mcmillhj joined #perl6
13:46 pierre joined #perl6
13:48 athenot joined #perl6
13:51 cdg joined #perl6
13:52 pharv joined #perl6
13:59 comborico joined #perl6
14:03 Success joined #perl6
14:04 vcv joined #perl6
14:04 SyrupThinker joined #perl6
14:05 lizmat joined #perl6
14:07 zakharyas joined #perl6
14:24 ramortegui joined #perl6
14:39 domidumont joined #perl6
14:49 skids joined #perl6
14:53 zakharyas joined #perl6
14:56 SyrupThinker joined #perl6
15:10 vcv joined #perl6
15:11 Ven`` joined #perl6
15:26 wamba joined #perl6
15:27 Success joined #perl6
15:28 jkramer https://github.com/perl6/perl6.org/blob/master/source/fun/index.html - the troll link is dead and also there's an unmatched </div> at the end and one too many </ul>s in the middle
15:34 Zoffix joined #perl6
15:34 Zoffix jkramer: which troll link? I see two and both work for me
15:35 Geth ¦ perl6.org: b8e2042776 | (Moritz Lenz)++ | source/fun/index.html
15:35 Geth ¦ perl6.org: Markup fix, jkramer++
15:35 Geth ¦ perl6.org: review: https://github.com/perl6/perl6.org/commit/b8e2042776
15:35 Geth ¦ perl6.org: 73b9bc8cce | (Moritz Lenz)++ | source/fun/index.html
15:35 Geth ¦ perl6.org: Another markup fix, jkramer++
15:35 Geth ¦ perl6.org: review: https://github.com/perl6/perl6.org/commit/73b9bc8cce
15:36 Zoffix moritz++
15:41 zakharyas joined #perl6
15:48 moritz both links work for me too
15:49 athenot joined #perl6
15:51 jkramer http://pugs.blogs.com/audrey/2009/08/my-hobby-troll-hugging.html - I'm getting a 404 here
15:53 Zoffix jkramer: what about blogs.com and pugs.blogs.com?
15:53 jkramer Huh weird, I'm using two different tunnels for two different browser and with both I get a 404, when I use a third browser without tunnel it works :)
15:54 jkramer Maybe some bot protection thing of typepad.com?
15:54 Zoffix I'm viewing it via ssh tunnel ATM
15:58 Zoffix left #perl6
15:59 domidumont joined #perl6
16:00 pharv joined #perl6
16:01 amalia___ joined #perl6
16:03 jkramer Haha, now I'm getting "The owner of this website (blogs.com) has banned your IP" (from cloudflare)
16:04 jkramer With both tunnels (different servers)
16:04 timotimo fun times
16:04 jkramer You think discrimination is fun?
16:04 timotimo can i get some people to test a pre-release version of JSON::Fast with all their wildest documents?
16:04 timotimo no, "fun times" was sarcasm on my part
16:04 jkramer ;)
16:05 Ven`` joined #perl6
16:06 jkramer timotimo: I have some pretty wild documents, but I probably won't have time til monday
16:08 jkramer c
16:13 timotimo hm, ok
16:15 jkramer I hate this wifi. Apparently the only way to keep my ssh and the tunnels alive is to simultaneously ping the servers in another shell -_-
16:16 mspo have you tried ssh -oTCPKeepAlive=yes
16:19 El_Che ^---
16:26 obfusk joined #perl6
16:28 Ven`` joined #perl6
16:29 timotimo i forgot what tool i used to make my distributions and upload them to cpan ...
16:29 timotimo ah, it was mi6
16:33 AlexDaniel joined #perl6
16:37 buggable New CPAN upload: JSON-Fast-0.9.10.tar.gz by TIMOTIMO https://cpan.metacpan.org/authors/id/T/TI/TIMOTIMO/Perl6/JSON-Fast-0.9.10.tar.gz
16:43 Success joined #perl6
16:44 Success joined #perl6
16:52 lucasb joined #perl6
17:10 mcmillhj joined #perl6
17:24 pharv joined #perl6
17:24 mcmillhj joined #perl6
17:45 [Coke] ./win 5
17:45 El_Che if you don't play, you don't win
17:46 moritz wiser words have been spoken.
17:47 domidumont joined #perl6
17:47 El_Che camelia: (^10).pick
17:48 El_Che mm
17:48 El_Che evalable6: (^10).pick
17:48 evalable6 El_Che, rakudo-moar 6006e2f63: OUTPUT: «»
17:48 El_Che evalable6: (^10).pick.print
17:48 evalable6 El_Che, rakudo-moar 6006e2f63: OUTPUT: «9»
17:48 El_Che [Coke] looses
17:52 pharv joined #perl6
17:59 vcv joined #perl6
17:59 mst can you not give a new formatter object a datetime you created?
18:00 mst oops. I was scrolled up about two days. never mind.
18:01 El_Che it sounds like the anti-brexit campaign :)
18:09 greppable6 joined #perl6
18:23 natrys joined #perl6
18:25 ChoHag joined #perl6
18:26 pharv joined #perl6
18:26 troys joined #perl6
18:27 buggable New CPAN upload: HTML-Canvas-0.0.2.tar.gz by WARRINGD https://cpan.metacpan.org/authors/id/W/WA/WARRINGD/Perl6/HTML-Canvas-0.0.2.tar.gz
18:27 lucasb This example in https://docs.perl6.org/type/Hash#Non-string_keys_(object_hash)
18:28 lucasb m: say :{ 10 => 20 }<10>
18:28 camelia rakudo-moar 6006e2f63: OUTPUT: «(Any)␤»
18:28 lucasb m: say :{ <10> => 20 }<10>   # <-- Maybe it's worth mentioning :)
18:28 camelia rakudo-moar 6006e2f63: OUTPUT: «20␤»
18:30 vcv joined #perl6
18:30 committable6 joined #perl6
18:32 SyrupThinker joined #perl6
18:36 garryq1 joined #perl6
18:37 clkao_ joined #perl6
18:39 cdg joined #perl6
18:39 Gothmog__ joined #perl6
18:40 notostraca joined #perl6
18:41 Geth ¦ doc: f6b1d64b9d | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Hash.pod6
18:41 Geth ¦ doc: Correct/explain use of `<...>` with object hashes more
18:41 Geth ¦ doc:
18:41 Geth ¦ doc: - The `<...>` creates allomorphs for numbers,  not strings
18:41 Geth ¦ doc: - Show how to lookup numbers, strings, and allomorphs in object hashes
18:41 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f6b1d64b9d
18:41 synopsebot Link: https://doc.perl6.org/type/Hash
18:42 tobs_ joined #perl6
18:43 tyilanmenyn joined #perl6
18:44 perlbot_ joined #perl6
18:44 buggable joined #perl6
18:44 lucasb Zoffix++
18:44 BucciaratiVEVO joined #perl6
18:45 coverable6 joined #perl6
18:45 comborico1611 joined #perl6
18:48 tobs joined #perl6
18:48 zakharyas joined #perl6
18:48 SCHAPiE joined #perl6
18:50 groovman joined #perl6
18:50 rindolf joined #perl6
18:52 khw joined #perl6
18:52 emeric joined #perl6
19:09 Geth ¦ doc: 121607e4bf | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Hash.pod6
19:09 Geth ¦ doc: Mend info on :{ ... } and Blocks
19:09 Geth ¦ doc:
19:09 Geth ¦ doc: - :{} making Blocks is a bug. Now filed as R#1559
19:09 Geth ¦ doc:      https://github.com/rakudo/rakudo/issues/1559
19:09 synopsebot Link: https://doc.perl6.org/type/Hash
19:09 Geth ¦ doc: - There *are* actually two ways to make object hashes
19:09 Geth ¦ doc:    without :{}, so show them.
19:09 synopsebot R#1559 [open]: https://github.com/rakudo/rakudo/issues/1559 :{ }   sometimes constructs a Block
19:09 Geth ¦ doc: review: https://github.com/perl6/doc/commit/121607e4bf
19:14 lucasb role descriptions shows up as italics in https://docs.perl6.org/type.html
19:15 lucasb I don't like that. I think it breaks the reading flow/rhythm. And there already is a declarator column that says the type is a role
19:16 lucasb Would anybody mind if this is removed?
19:16 lucasb It was added here: https://github.com/perl6/doc/commit/7ec008ca6d46c2aa8db2e631d2066d8abeadd69f
19:19 lucasb reading the list alternating italic and normal fonts is strange
19:30 vcv joined #perl6
19:33 quotable6 joined #perl6
19:33 unicodable6 joined #perl6
19:34 domidumont joined #perl6
19:39 lizmat .
19:39 timotimo yay it's lizmat
19:39 lizmat only physically around, I'm afraid
19:42 Xliff \o
19:43 timotimo it's okay
19:44 someuser joined #perl6
19:44 notable6 joined #perl6
19:44 statisfiable6 joined #perl6
19:45 comborico1611 lizmat, eating oranges?
19:45 lizmat yesterday I had one  :-)
19:47 comborico1611 Eh, better than nothing.
19:50 Geth ¦ doc: e20ad3373d | (Zoffix Znet)++ | doc/Type/Rational.pod6
19:50 Geth ¦ doc: Document Rational.Bool
19:50 Geth ¦ doc:
19:50 Geth ¦ doc: Spec:       https://github.com/perl6/roast/commit/f82c984b43
19:50 Geth ¦ doc: Impl:       https://github.com/rakudo/rakudo/commit/748d1a57b9
19:50 synopsebot Link: https://doc.perl6.org/type/Rational
19:50 Geth ¦ doc: Discussion: https://irclog.perlgeek.de/perl6-dev/2018-02-23#i_15851526
19:50 Geth ¦ doc: Issue:      https://github.com/rakudo/rakudo/issues/1552 R#1552
19:50 synopsebot R#1552 [closed]: https://github.com/rakudo/rakudo/issues/1552 [@LARRY][RFC] Booliness of Zero-Denominator Rationals
19:50 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e20ad3373d
19:52 rindolf joined #perl6
19:53 pharv_ joined #perl6
19:54 markong joined #perl6
20:06 Geth ¦ doc: 8ac934b5e3 | (Zoffix Znet)++ | 4 files
20:06 Geth ¦ doc: Document .Bool on allomorphs
20:06 Geth ¦ doc:
20:06 Geth ¦ doc: In Rakudo, this method is not actually implemented in allomorphs
20:06 Geth ¦ doc: itself and it's inherited, but in the docs it's hard to see whether
20:06 Geth ¦ doc: the .Bool comes from Str or Numeric portion.
20:06 Geth ¦ doc:
20:06 Geth ¦ doc: Spec:       https://github.com/perl6/roast/commit/4fab1d3d7c
20:06 Geth ¦ doc: Discussion: https://irclog.perlgeek.de/perl6-dev/2018-02-23#i_15851777
20:06 Geth ¦ doc: review: https://github.com/perl6/doc/commit/8ac934b5e3
20:10 bdmatatu joined #perl6
20:14 ChoHag joined #perl6
20:15 bdmatatu p6: class A does Associative { }; my %a = A.new;
20:15 camelia rakudo-moar 748d1a57b: OUTPUT: «Odd number of elements found where hash initializer expected:␤Only saw: A.new␤  in block <unit> at <tmp> line 1␤␤»
20:15 bdmatatu I was confused by this ... should I be able to use a sigil to make a new A as long as it does Associative?
20:19 moritz bdmatatu: yes, but you need to bind to the variable
20:19 moritz m: class A does Associative { }; my %a := A.new
20:19 camelia rakudo-moar 748d1a57b: ( no output )
20:19 bdmatatu oh, cool
20:19 moritz m: class A does Associative { }; my %a is A;
20:19 camelia rakudo-moar 748d1a57b: ( no output )
20:19 moritz also works
20:19 moritz m: class A does Associative { }; my %a is A .= new()
20:19 camelia rakudo-moar 748d1a57b: OUTPUT: «Cannot modify an immutable A (A.new)␤  in block <unit> at <tmp> line 1␤␤»
20:20 moritz m: class A does Associative { }; my %a is A; say %a.defined
20:20 camelia rakudo-moar 748d1a57b: OUTPUT: «True␤»
20:20 moritz m: class A does Associative { }; my %a is A; say %a.defined; say %a.^name
20:20 camelia rakudo-moar 748d1a57b: OUTPUT: «True␤A␤»
20:21 bdmatatu What does 'is' do in that context?

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo