»ö« 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:08 rindolf left, Kaiepi left, Kaiepi joined 00:09 p6bannerbot sets mode: +v Kaiepi 00:18 w_richard_w joined, p6bannerbot sets mode: +v w_richard_w 00:20 benjikun joined 00:21 p6bannerbot sets mode: +v benjikun, yqt joined 00:22 p6bannerbot sets mode: +v yqt 00:25 Sgeo_ left 00:26 Sgeo_ joined 00:27 p6bannerbot sets mode: +v Sgeo_
thundergnat Should a failed open() set $! ? I was under the impression that it would but it doesn't on my system. 00:33
m: open("bogus/directory/file.txt") or die $! # EG 00:34
camelia
in block <unit> at <tmp> line 1
thundergnat Or am I perhaps just confused with Perl 5? 00:35
00:36 yqt left 00:37 w_richard_w left
thundergnat The docs imply that it will return a failure, but not exactly where that failure will be set. 00:37
00:37 Sound left 00:38 Actualeyes left
Xliff thundergnat: If open fails, it should throw an exception. 00:42
thundergnat Yeah, it should... but where is that exception so I can pass it along? It isn't in $_, it isn't in $!. Where is it? 00:44
MasterDuke saw this in hackernews, thought people might be interested rosie-lang.org/, a PEG implementation 00:46
thundergnat A failed open definitely returns a Falsey value because the die gets called above, but I'd like to let the user know _why_ it failed. 00:47
Xliff thundergnat: You'd have to use a try/catch block to inspect the exception and react accordingly.
00:50 kurahaupo left, kurahaupo joined, kurahaupo left 00:51 kurahaupo joined 00:52 p6bannerbot sets mode: +v kurahaupo
thundergnat m: try open("./bogus/directory/file.txt", :w) or die; CATCH { default { say $_, $! } } # nope 00:53
camelia ( no output )
thundergnat m: open("./bogus/directory/file.txt", :w) or die; CATCH { default { say $_, $! } } # nope
camelia Died
in block <unit> at <tmp> line 1
Nil
thundergnat eval open("bogus/directory/file.txt") or die $! # perl5 00:56
bah, no perl5 bot.
Well, after poking around a bit in roast, it looks like a failed open DOESN'T return a failure, despite what the docs say, it just returns an undefined value and somehow _you_ have to figure out why it failed.. That's LTA. (I would be delighted to be proven wrong.) 01:06
Ok, if you actually want to get a failure, you need to pass a file handle to open, not just a path string. 01:13
m: my $fh = "bogus/directory/file.txt".IO; open($fh) or die $! 01:14
camelia
in block <unit> at <tmp> line 1
thundergnat Nope. That doesn't work either. Sigh.
SmokeMachine does any one have any idea why on this function (github.com/FCO/Red/blob/better-clo...q.pm6#L64) the `%poss` inside the `CONTROL` is different from outside? 01:17
here's how I test it... www.irccloud.com/pastebin/ZQcMCU99/ 01:18
thundergnat m: my $fh = IO::Handle.new( :path( "bogus/directory/file.txt".IO.path ) ).open or die $! # ok, I give up
camelia IO::Handle is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 1
in method new at src/RESTRICTED.setting line 32
in block <unit> at <tmp> line 1
MasterDuke thundergnat: you can use evalable6 or committable6 for i/o stuff, they don't use the restricted settings 01:27
AlexDaniel, jmerelo: squashathons once a month might be hard to keep up. maybe align them right before star releases? could do something like one for docs, one for roast, one for ecosystem unbitrotting, and one whatever else is decided 01:33
SmokeMachine: different how? different contents? different WHICH? 01:37
01:38 titsuki_ joined 01:39 p6bannerbot sets mode: +v titsuki_ 01:40 titsuki left 01:45 cydf left 01:46 kiwi_18 joined, p6bannerbot sets mode: +v kiwi_18 01:47 kiwi_18 left 01:48 shadowpaste left 02:02 shadowpaste joined 02:03 p6bannerbot sets mode: +v shadowpaste 02:14 hamhu3 left 02:17 shadowpaste left 02:18 shadowpaste joined 02:19 p6bannerbot sets mode: +v shadowpaste 02:26 SCHAPiE left 02:27 hamhu3 joined, hamhu3 left 02:28 hamhu3 joined 02:29 p6bannerbot sets mode: +v hamhu3 02:33 ferreira left 02:36 SCHAPiE joined, p6bannerbot sets mode: +v SCHAPiE
Xliff m: my ($a, *@b) = ^5; say $a; say @b 02:37
camelia 0
[1 2 3 4]
Xliff m: my ($a, *@b) = ^5; say $a; say @b.flat
camelia 0
(1 2 3 4)
Xliff m: my ($a, *@b) = ^5; say $a; say @b[0]
camelia 0
1
02:44 ferreira joined, p6bannerbot sets mode: +v ferreira 02:50 ryn1x joined 02:51 p6bannerbot sets mode: +v ryn1x
holyghost Xliff: I sent you some email 02:59
Xliff: I don't know how to login without pass anymore, I have to look that up, but with my key _and_ pass I should be able to login 03:00
watch out for not setting a pass as if my box gets stolen, people can login freely 03:01
you can see it in .bash_history for example
03:01 bnk joined, p6bannerbot sets mode: +v bnk 03:02 bnk left
holyghost the mac is the same but routes aren't always clear 03:02
Then another thing, not all versions of ssh clients on windows are key configurable. 03:05
I am on windows in the weekend with my children 03:06
So my dad's network is ok
03:08 ryn1x left
holyghost I once had the problem by using linux there that the rom code of the DSL router got changed 03:09
Xliff OK. Do you want to use that key for git, too? 03:10
03:10 ferreira left
Xliff If so, you will have to scp it up to the shell. 03:10
(the private part)
holyghost no
Xliff Otherwise, you can use ssh-keygen there and download those files to your home machine.
I would prefer that last bit.
One sec.
holyghost I can also use git locally 03:11
I don't mind that
(I might be confused with cvs :pserver) 03:12
so nobody sees the checked in code
03:13 kdr2 left, ufobat___ joined 03:14 p6bannerbot sets mode: +v ufobat___ 03:15 leont left 03:17 ufobat_ left, ferreira joined 03:18 p6bannerbot sets mode: +v ferreira
holyghost thanks for serving me Xliff :-) 03:20
03:20 jeek left
holyghost note that perl6 chews up RAM but it should be ok with swap space 03:21
except for the image AFAIK 03:23
03:26 ferreira left 03:27 ferreira joined, p6bannerbot sets mode: +v ferreira 03:35 tardisx left
holyghost Xliff: AI-Agent-Embedded is strictly for Nintendo hackers, I'm just telling you so we don't get into trouble, I've uploaded it 03:39
s/Nintendo/Amiga
03:39 kdr2 joined
holyghost s/Nintendo/Nintendo and Amiga (M68000) 03:40
03:40 p6bannerbot sets mode: +v kdr2 03:43 ferreira1 joined 03:44 p6bannerbot sets mode: +v ferreira1 03:45 ferreira left 03:53 ferreira joined 03:54 p6bannerbot sets mode: +v ferreira 03:55 hamhu3 left 03:56 ferreira1 left 03:59 ferreira left
holyghost Xliff : I'm going to leave it where it is except for some minor modifications, AI-Agent-Embedded is an exclusive for your server later on 04:05
Xliff: It's just a gift I mean as a thanks for serving me :-)
Xliff LOL 04:06
You will be serving me, soon enough.
holyghost yes taskmaster...
Xliff The Gnomes, Trolls and Knolls clan need minions. :) 04:07
G'night!
holyghost thanks, gn
04:09 Cabanossi left 04:10 Cabanossi joined 04:11 p6bannerbot sets mode: +v Cabanossi 04:13 MasterDuke left
timotimo m: my $fh = "bogus/directory/file.txt".IO; open($fh) 04:15
camelia Failed to open file /home/camelia/bogus/directory/file.txt: No such file or directory
in block <unit> at <tmp> line 1
timotimo m: my $fh = "bogus/directory/file.txt"; open($fh) 04:16
camelia Failed to open file /home/camelia/bogus/directory/file.txt: No such file or directory
in block <unit> at <tmp> line 1
timotimo thundergnat: i'm not sure what problems you were having
except probably that you're not expecting that it returns a Failure?
holyghost timotimo: or die on $! he said 04:19
timotimo right 04:23
sorry, i had to go afk real quick in the middle of the next sentence
the important part is that orelse and andthen set $_, not $!
m: open("bogus/file.txt") orelse die $_
camelia Failed to open file /home/camelia/bogus/file.txt: No such file or directory
in block <unit> at <tmp> line 1
timotimo alternatively, do anything with it and it'll asplode, or explodify it directly with .self
thundergnat: i hope that helps, maybe you can find a good place in the docs where that could be pointed out more clearly 04:24
04:32 hamhu3 joined, p6bannerbot sets mode: +v hamhu3
Xliff m: my sub a($a is rw) { say '1' without $a }; a(Nil) 04:39
camelia Parameter '$a' expected a writable container, but got Any value
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: my sub a($a? is rw) { say '1' without $a }; a(Nil) 04:40
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use 'is rw' on optional parameter '$a'.
at <tmp>:1
05:01 ferreira joined 05:02 p6bannerbot sets mode: +v ferreira 05:05 ferreira left 05:07 vike1 left 05:12 hamhu3 left, hamhu3 joined 05:13 p6bannerbot sets mode: +v hamhu3 05:18 Actualeyes joined 05:19 p6bannerbot sets mode: +v Actualeyes
holyghost Xliff: maybe write a cron job for git-publishing $HOME/perl6 ? 05:20
Xliff: else I'll put everything to be published in $HOME/perl6/github.local 05:22
Xliff No. For now, you should not think about publishing ANYTHING until you have tests for your code.
holyghost I've made the directory
ok 05:23
never mind
Xliff Unless you are pushing to the git repository. You can commit to git as much as you like, but dont' think about CPAN until you have a test suite.
And now I have to lie back down. Woke up to take an asprin.,
holyghost You want me to have fully working code on the local github ? 05:24
just asking
Xliff No. That does not matter. Just do NOT send anything to CPAN for a while.
holyghost I do not 05:25
timotimo explained that
why then not make a cron job for pushing to local git ?
Xliff And now I have to lie back down. Woke up to take an asprin!
holyghost once a day 05:26
Xliff TBH, if you want to push to git via cron, that's your call.
Just make sure you don't break anything.
05:26 vike1 joined
holyghost AFAIK crontab ? 05:27
Xliff And I am going to lie down, now.
holyghost anyway, I'll try to fixify as a user
05:27 p6bannerbot sets mode: +v vike1
holyghost get well soon ! 05:27
crontab : command not found, ok 05:29
never mind, I'll write a script myself 05:30
I just gave food to my 7 birds, they're allright, they get to get up at 6am. the Gnoll crew :-) 05:33
I have 4 cages with couples except for the canarie 05:35
ther're parrots :-)
s/ther'/they'/
05:44 curan joined, p6bannerbot sets mode: +v curan 05:46 robertle left 05:58 zostay left 05:59 zostay joined, huggable left, hfjvjffju left, skaji left, caasih left, caasih joined, p6bannerbot left, CoderPuppy joined 06:00 skaji joined, cpup left, avuserow left, wmoxam left, sacomo left, avuserow joined, sacomo joined 06:01 hfjvjffju joined, wmoxam joined 06:02 aindilis left 06:03 lizmat left, aindilis joined 06:16 jmerelo joined 06:19 cygx joined 06:29 cygx left
holyghost hi jmerelo 06:35
have a nice breakfast :-) 06:36
06:39 sauvin joined
Geth_ doc: ff2e2bcf01 | (JJ Merelo)++ | doc/Type/Mix.pod6
Improves documentation and examples for Mix

The example for the second case was reproduced over and over, but it didn't behave the same in the first example, so I have changed it to a new one and explains behavior. Also adds another example for `is`, which uses a different mechanism, `STORE`
Closes #2459
06:54
synopsebot_ Link: doc.perl6.org/type/Mix
07:02 domidumont joined 07:04 kerframil left 07:05 kerframil joined 07:07 khatar joined, khatar left 07:08 molaf joined 07:11 khatar joined 07:18 khatar left 07:32 molaf left 07:44 AlexDani` joined 07:48 AlexDaniel left 07:52 Manifest1 left 08:02 vike1 left 08:14 vike1 joined, dakkar joined 08:18 kensanata joined, rindolf joined 08:22 kensanata left 08:23 kensanata joined 08:36 zakharyas joined 08:41 lizmat joined 08:43 kybr left 08:44 kybr joined 08:49 robertle joined
ufobat___ .tell leont thank you for the help :-) looking forward for a release :p 09:00
yoleaux ufobat___: I'll pass your message to leont.
09:02 lookatme_q left 09:03 lookatme_q joined 09:09 kensanata left, zakharyas left 09:12 zakharyas joined 09:29 haukex joined 09:30 rindolf left 09:33 cydf joined 09:34 kerframil left, tobs` joined 09:36 rindolf joined 09:40 andrzejku joined 09:44 kensanata joined 09:51 haukex left 10:09 AlexDani` is now known as AlexDaniel, Actualeyes left 10:18 AlexDaniel left, AlexDaniel joined, ChanServ sets mode: +v AlexDaniel
AlexDaniel e: say 42 10:18
evalable6 42
AlexDaniel uhhhhhhhhh
.tell MasterDuke same can be said about rakudo releases :) But so far it wasn't bad, it's just that we need better ideas
yoleaux AlexDaniel: I'll pass your message to MasterDuke.
AlexDaniel where is the bot
if anybody was talking in the last few hours, sorry but nobody saw your messages
because the bot that gives voices is not there? 10:19
10:21 ChanServ sets mode: +vvvv kensanata andrzejku rindolf tobs`, ChanServ sets mode: +vvvv cydf zakharyas lookatme_q robertle, ChanServ sets mode: +vvvv kybr lizmat dakkar vike1, ChanServ sets mode: +vvvv domidumont sauvin jmerelo aindilis, ChanServ sets mode: +vvvv wmoxam hfjvjffju sacomo avuserow, ChanServ sets mode: +vvvv skaji CoderPuppy caasih zostay
Geth_ ecosystem: ccworld1000++ created pull request #418:
add CCColor
10:22
AlexDaniel OK voices given, now where is the bot…
is the spam attack still going?
lizmat well, it *is* in irc.perl.org
rindolf AlexDaniel: which bot? 10:23
10:23 ChanServ sets mode: +o AlexDaniel
AlexDaniel rindolf: p6bannerbot 10:23
10:24 timewasteable6 joined, ChanServ sets mode: +o timewasteable6
AlexDaniel ok that thing can work as a workaround for now 10:24
10:25 Xliff left
Geth_ ecosystem: 9405143a50 | CC++ (committed using GitHub Web editor) | META.list
add CCColor

Simple and flexible color color conversion module for Perl 6
10:34
ecosystem: 1dee200a97 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #418 from ccworld1000/patch-4

add CCColor
10:40 domidumont left 10:46 scimon joined 10:47 rindolf left, timewasteable6 sets mode: +v scimon
tobs` m: use Test; sub expo ($x, $e) is assoc<right> { $x**$e }; is [[&expo]] (2,3,4), [**] (2,3,4) 10:52
camelia Earlier failures:
Numeric overflow
in sub expo at <tmp> line 1
in block <unit> at <tmp> line 1

Final error:
Cannot resolve caller is(Failure); none of these signatures match:
(Mu $got, Mu:U $expected, $desc = "")
(Mu $go…
10:52 rindolf joined 10:53 timewasteable6 sets mode: +v rindolf
tobs` m: use Test; sub expo ($x, $e) is assoc<right> { $x**$e }; is ([[&expo]] (2,3,4)), ([**] (2,3,4)) # don't be so greedy 10:53
camelia not ok 1 -
# Failed test at <tmp> line 1
# expected: '2417851639229258349412352'
# got: '4096'
tobs` it seems like is assoc<right> is not honoured when reducing a mere function 10:54
and R#2147 is what prevents me from using a proper operator 10:56
synopsebot_ R#2147 [open]: github.com/rakudo/rakudo/issues/2147 [SEGV] segfaults raised when trying with this code.
11:06 scimon left 11:22 Xliff joined 11:23 timewasteable6 sets mode: +v Xliff 11:29 scimon joined 11:30 timewasteable6 sets mode: +v scimon
andrzejku .seen araraloren 11:34
yoleaux I saw araraloren 4 Nov 2018 16:06Z in #perl6: <araraloren> Zoffix okay, thanks :)
andrzejku .seen loren
yoleaux I saw loren 8 Jul 2016 13:51Z in #perl6: <loren> e, ^_^ .. haha don't mind
11:52 rindolf left
scimon Sometimes I hate the work VPN. 11:54
11:59 zakharyas left 12:02 rindolf joined 12:03 timewasteable6 sets mode: +v rindolf 12:10 zakharyas joined 12:11 timewasteable6 sets mode: +v zakharyas 12:20 lookatme_q left 12:21 zakharyas left 13:06 titsuki_ left 13:08 leont joined, timewasteable6 sets mode: +v leont 13:18 azawawi joined, timewasteable6 sets mode: +v azawawi
azawawi hi 13:19
blog.discourse.org/2018/11/free-ho...source-v2/ # if we're interested in a perl6 users discourse free hosting site
lizmat looks interesting I guess 13:22
azawawi :(
:)
lizmat: hi :)
lizmat: meta.discourse.org/ 13:23
i started working on github.com/azawawi/p6-webservice-discourse to be able to use it from perl6 13:24
wip
most actions you do on the discourse website can be done with the api 13:25
WebService::Discourse once finished would be able to do these tasks github.com/discourse/discourse_api...r/examples 13:27
13:29 azawawi left 13:37 dakkar left 13:40 zakharyas joined, timewasteable6 sets mode: +v zakharyas 13:41 jmerelo left, dakkar joined 13:42 timewasteable6 sets mode: +v dakkar 13:45 scimon left 13:46 scimon joined 13:47 timewasteable6 sets mode: +v scimon 13:52 eiro joined 13:53 timewasteable6 sets mode: +v eiro 13:56 Kaiepi left, Kaiepi joined, sergot joined
AlexDaniel eiro: hi o/ 13:56
13:57 timewasteable6 sets mode: +v Kaiepi, timewasteable6 sets mode: +v sergot
El_Che eiro in da house 14:02
eiro: ça va, mon copain?
thundergnat .tell timotimo Ah! I was stuck in Perl5 mode and expected a failed open to set $! That ought to go into traps at least. Thanks! 14:03
yoleaux thundergnat: I'll pass your message to timotimo.
14:05 cosimo left 14:06 zakharyas left, zakharyas joined 14:07 timewasteable6 sets mode: +v zakharyas
eiro El_Che, yes but we should probably use english in this channel 14:08
thundergnat .tell timotimo In particular, these paragraphs are misleading (pertaining to failed open): github.com/perl6/doc/blob/master/d....pod6#L542
yoleaux thundergnat: I'll pass your message to timotimo.
14:11 domidumont joined 14:12 timewasteable6 sets mode: +v domidumont 14:54 Kaiepi left, Kaiepi joined 14:55 timewasteable6 sets mode: +v Kaiepi 15:03 curan left 15:05 zakharyas left 15:08 zakharyas joined, timewasteable6 sets mode: +v zakharyas 15:12 |oLa| joined 15:21 Actualeyes joined 15:22 timewasteable6 sets mode: +v Actualeyes 16:02 ferreira joined, timewasteable6 sets mode: +v ferreira 16:03 |oLa| left 16:04 zakharyas left 16:07 zakharyas joined 16:08 timewasteable6 sets mode: +v zakharyas
jnthn m: my $x = 0/0 16:09
camelia ( no output )
jnthn m: my $x = 0/0; dd $x
camelia Rat $x = <0/0>
jnthn Is there any way to make these things blow up a bit more eagerly?
(I'm fine with calling a method, or similar) 16:10
moritz m: my $x = 0/0; say $x.Num 16:11
camelia NaN
jnthn Also for debate: should `to-json` be turning these into NaN?
Because, at least for JSON::Fast, it explodes. 16:12
oh, apparently JSON doesn't allow NaN?
I probably exception rather than NaN anyway, in my case, though. 16:13
m: my $x = 0/0; ~$x
camelia WARNINGS for <tmp>:
Useless use of "~" in expression "~$x" in sink context (line 1)
Attempt to divide by zero when coercing Rational to Str
in block <unit> at <tmp> line 1
jnthn Guess I can always say "if it's a Rat, check if we can stringify it" :) 16:14
m: my $x = 0/0; say $x == 0/0
camelia False
jnthn m: my $x = 0/0; say $x === 0/0
camelia True
jnthn Ah, *that*'d work.
(For detecting it)
AlexDaniel yeah but what about infinity 16:15
maybe .denominator == 0 ? 16:16
jnthn ah, good point
AlexDaniel there's also .norm 16:17
jnthn m: my $x = 0/0; dd $x.norm
camelia <0/0>
AlexDaniel ah oops, my bad
“Returns a normalized Rational object, i.e. with positive denominator, and numerator and denominator coprime.” 16:18
well that's wrong then
tobs` m: 0 gcd 0
camelia WARNINGS for <tmp>:
Useless use of "gcd" in expression "0 gcd 0" in sink context (line 1)
tobs` m: say 0 gcd 0
camelia 0
tobs` :)
wrong twice 16:19
AlexDaniel D#2463 16:20
synopsebot_ D#2463 [open]: github.com/perl6/doc/issues/2463 .norm “Returns a normalized Rational object, i.e. with positive denominator”
jnthn I'll probably just check .demoninator 16:21
16:23 domidumont left
timotimo jnthn: JSON::Fast has an option that makes it allow NaN, -Inf, and Inf 16:32
not sure about -0
16:35 Zoffix joined, timewasteable6 sets mode: +v Zoffix, ChanServ sets mode: +o Zoffix, p6bannerbot joined, timewasteable6 sets mode: +v p6bannerbot, ChanServ sets mode: +o p6bannerbot 16:36 ferreira left, Zoffix sets mode: +vvvv timewasteable6 AlexDaniel Sigyn mst 16:37 Zoffix left
lizmat . 16:37
16:37 buggable left, buggable joined, ChanServ sets mode: +v buggable, irdr left, huggable joined, ChanServ sets mode: +v huggable, ZofBot left, ZofBot joined, ChanServ sets mode: +v ZofBot, timewasteable6 sets mode: +v ZofBot, p6bannerbot sets mode: +v ZofBot 16:38 SourceBaby joined, ChanServ sets mode: +v SourceBaby, timewasteable6 sets mode: +v buggable, p6bannerbot sets mode: +v buggable, timewasteable6 sets mode: +v huggable, p6bannerbot sets mode: +v huggable
timotimo it's a dynamic variable for that 16:38
16:38 irdr joined, timewasteable6 sets mode: +v SourceBaby, p6bannerbot sets mode: +v SourceBaby 16:39 timewasteable6 sets mode: +v irdr, p6bannerbot sets mode: +v irdr 16:55 molaf joined 16:56 timewasteable6 sets mode: +v molaf, p6bannerbot sets mode: +v molaf 17:03 tobs` left 17:04 zakharyas left 17:06 zakharyas joined 17:07 timewasteable6 sets mode: +v zakharyas, p6bannerbot sets mode: +v zakharyas 17:08 pmurias joined, p6bannerbot sets mode: +v pmurias 17:09 Guest11615 left, timewasteable6 sets mode: +v pmurias 17:10 success joined, success is now known as Guest23722, kensanata left, timewasteable6 sets mode: +v Guest23722, p6bannerbot sets mode: +v Guest23722 17:13 timewasteable6 left 17:22 ferreira joined 17:23 p6bannerbot sets mode: +v ferreira, kudzo_ joined 17:24 p6bannerbot sets mode: +v kudzo_ 17:25 dakkar left 17:26 robertle_ joined, kudzo__ left 17:27 p6bannerbot sets mode: +v robertle_ 17:29 scimon left 17:54 pmurias left 17:55 pmurias joined, p6bannerbot sets mode: +v pmurias
Geth_ doc: ca6e7ac018 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Rational.pod6
Document Rational.norm as deprecated
18:14
synopsebot_ Link: doc.perl6.org/type/Rational
18:19 Geth_ left, p6lert_ left, Geth joined, ChanServ sets mode: +v Geth, synopsebot_ left, p6lert joined, synopsebot joined, ChanServ sets mode: +v synopsebot, p6bannerbot sets mode: +v Geth, p6bannerbot sets mode: +v p6lert 18:20 p6bannerbot sets mode: +v synopsebot 19:00 zakharyas left 19:20 sauvin left
tbrowder___ .seen DrForr 19:20
yoleaux I saw DrForr 5 Oct 2018 17:53Z in #perl6: <DrForr> Sounds like something for the docs :)
buggable New CPAN upload: PDF-ISO_32000-0.0.1.tar.gz by WARRINGD cpan.metacpan.org/authors/id/W/WA/...0.1.tar.gz 19:27
19:32 hamhu3_ joined 19:33 p6bannerbot sets mode: +v hamhu3_, ryn1x joined 19:34 p6bannerbot sets mode: +v ryn1x 19:36 hamhu3 left 19:38 ryn1x left, ryn1x joined 19:39 p6bannerbot sets mode: +v ryn1x 19:56 ryn1x left 19:57 |oLa| joined 19:58 p6bannerbot sets mode: +v |oLa| 20:20 pecastro joined 20:21 p6bannerbot sets mode: +v pecastro 20:22 sena_kun joined 20:23 p6bannerbot sets mode: +v sena_kun 20:27 hahainternet left 20:39 molaf left 21:04 ZzZombo left 21:05 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 21:08 grumble left 21:14 grumble joined, p6bannerbot sets mode: +v grumble 21:33 rindolf left 21:38 tharkun left 21:42 rindolf joined 21:43 p6bannerbot sets mode: +v rindolf
kudzo_ is there any way to pass std::string as argument to native('') without writing additonal C code for wrapping it? 21:53
21:57 hahainternet joined 21:58 p6bannerbot sets mode: +v hahainternet 22:17 robertle_ left 22:19 rindolf left
leont I wouldn't expect so 22:22
yoleaux 09:00Z <ufobat___> leont: thank you for the help :-) looking forward for a release :p
22:33 hamhu3_ left, hamhu3 joined 22:34 p6bannerbot sets mode: +v hamhu3 22:47 thundergnat left 22:48 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 23:00 Sound joined, p6bannerbot sets mode: +v Sound 23:01 sena_kun left 23:07 random_yanek left 23:15 pmurias left 23:24 random_yanek joined, p6bannerbot sets mode: +v random_yanek 23:42 lizmat left 23:46 w_richard_w joined 23:47 pecastro left, p6bannerbot sets mode: +v w_richard_w
Xliff m: my @a = <a b c d e f>; @a.clone.splice(2, (1, 2, 3)).say; @a.splice(2, |(1,2,3)).say; 23:50
camelia Cannot resolve caller splice(Array: Int, List); none of these signatures match:
(Array:D \SELF: *%_)
(Array:D: Whatever, *%_)
(Array:D: Callable:D $offset, *%_)
(Array:D: Int:D $offset, *%_)
(Array:D: Whatever, Whatever, …
Xliff m: my @a = <a b c d e f>; @a.clone.splice(2, 0, (1, 2, 3)).say; @a.splice(2, 0, |(1,2,3)).say;
camelia []
[]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 0, (1, 2, 3)); @a.say; @a.splice(2, 0, |(1,2,3)); @a.say; 23:51
camelia [a b c d e f]
[a b 1 2 3 c d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 0, (1, 2, 3)); @b.say; @a.splice(2, 0, |(1,2,3)); @a.say;
camelia [a b 1 2 3 c d e f]
[a b 1 2 3 c d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 0, [1, 2, 3]); @b.say; 23:52
camelia [a b 1 2 3 c d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 0, [1, 2, 3].Array); @b.say;
camelia [a b 1 2 3 c d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 1, [1, 2, 3].Array); @b.say;
camelia [a b 1 2 3 d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 1, ([1, 2, 3]).Array); @b.say;
camelia [a b 1 2 3 d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 1, ([1, 2, 3])); @b.say; 23:53
camelia [a b 1 2 3 d e f]
Xliff m: my @a = <a b c d e f>; (my @b = @a.clone).splice(2, 1, [1, 2, 3]); @b[2].say
camelia 1
Xliff m: (0..0).eager.say 23:55
camelia (0)
Xliff m: 0..0.eager.say
camelia WARNINGS for <tmp>:
(0)
Useless use of ".." in expression "0..0.eager.say" in sink context (line 1)
Xliff m: 0..0.say
camelia WARNINGS for <tmp>:
0
Useless use of ".." in expression "0..0.say" in sink context (line 1)
23:57 tharkun joined, p6bannerbot sets mode: +v tharkun