»ö« 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.
jnthn m: say '$' ~~ /<:punct>/ 00:02
camelia Nil
jnthn huh, really
sena_kun m: say '$' ~~ /\W/
camelia 「$」
jnthn m: say uniprop '$'
camelia Sc
jnthn m: say '$' ~~ /<:S>/
camelia 「$」
jnthn m: say '$!?.*' ~~ /<:S>+/
camelia 「$」
jnthn grmbl 00:03
sena_kun maybe the first fix can do? 00:05
i.e. <+[\W]-[\s]>
jnthn Didn't that cause a different issue?
Or was that the one we just solved? 00:06
[<:punct>|<.sigil>] might do it also
sena_kun well, I think that nibble issue was another one, we solved that, so now we are solving the first, & issue in a way that does not upset spectest
jnthn Maybe try the first idea then 00:07
sena_kun all three files are passing... trying out the full spec now... 00:08
Result: PASS 00:23
00:38 aborazmeh left
jnthn Cool 00:38
Sleep time for me; 'night o/
sena_kun o/
jnthn++ for all the hacking
jnthn sena_kun++ for actually doing the work :)
o/
sena_kun good night 00:39
01:15 molaf left 01:28 molaf joined 01:53 noisegul joined 01:56 noisegul_ left 01:58 khisanth_ left 02:19 khisanth_ joined 02:43 mowcat joined 02:52 aborazmeh joined, aborazmeh left, aborazmeh joined 03:17 Elronnd joined 03:18 ijneb joined 03:56 ijneb left 04:15 melezhik joined 04:18 melezhik left, melezhik joined 04:22 melezhik left 04:23 jeromelanteri joined 04:52 _jrjsmrtn left 04:53 __jrjsmrtn__ joined 04:58 syb joined 04:59 syb left 05:02 aborazmeh left 05:08 sauvin joined 05:24 reach_satori_ left 05:31 mowcat left 05:40 jeromelanteri left, andrzejku joined 05:44 reach_satori joined 05:54 jeromelanteri joined 06:21 jmerelo joined
jmerelo m: my $plural = \'a', 42; say $plural.^name 06:29
yoleaux 17 May 2019 18:59Z <tobs> jmerelo: good, will read up and keep that in mind for easy changes
camelia WARNINGS for <tmp>:
Capture
Useless use of constant integer 42 in sink context (lines 1, 1)
yoleaux 17 May 2019 19:19Z <tobs> jmerelo: huh, the only mention of that class is in Type/Metamodel/ParametricRoleHOW.pod6 and that tested successfully 10 times in a row for me just now. Is it maybe flapping for you?
jmerelo .tell tobs I don't think so. It's systematically failing. I'll take a look. 06:30
yoleaux jmerelo: I'll pass your message to tobs.
Geth doc: 1719332eec | Altai-man++ | doc/Type/Pair.pod6
Document Pair.Pair method
06:32
doc: 820936b322 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Pair.pod6
Merge pull request #2806 from perl6/pair-pair-method

Document Pair.Pair method Thanks! Refs #2632
  (please refer to the issue number in the commit message)
synopsebot Link: doc.perl6.org/type/Pair
doc: 619fa6a1d3 | Altai-man++ | doc/Type/Enumeration.pod6
Document Enumeration.Int
06:34
doc: 4adad781a9 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Enumeration.pod6
Merge pull request #2807 from perl6/Enumeration-Int-method

Document Enumeration.Int Refs #2632. Thanks!
synopsebot Link: doc.perl6.org/type/Enumeration
06:43 domidumont joined
andrzejku .seen loren 06:59
yoleaux I saw loren 8 Jul 2016 13:51Z in #perl6: <loren> e, ^_^ .. haha don't mind
andrzejku .seen araraloren
yoleaux I saw araraloren 3 May 2019 17:59Z in #perl6: <araraloren> I am not sure
07:00 rindolf joined 07:24 andrzejku left 07:28 kylese joined 07:43 MilkmanDan left 07:44 vrurg left 07:45 MilkmanDan joined 08:09 ravenousmoose joined
Geth doc/master: 11 commits pushed by (JJ Merelo)++
review: github.com/perl6/doc/compare/4adad...107ee84bb7
08:10
08:17 Xliff left, Xliff joined
Geth doc: 8afc8a10d9 | (JJ Merelo)++ | xt/examples-compilation.t
Checks and removes leftover code and comments

Closes #2798. If there's anything left to address, please reopen and comment on what is left.
08:35
08:46 Sgeo_ left, Sgeo joined 08:59 powerbit joined 09:01 qiqi joined 09:11 ravenousmoose left 09:14 espadrine joined 09:15 espadrine_ left 09:16 qiqi left 09:19 `Vision joined 09:21 `Vision left 09:26 kylese left
Geth doc/add-cando-example: 04fef0d547 | Altai-man++ | doc/Type/Code.pod6
Fix code example
09:45
doc: b25e802cfe | Altai-man++ | doc/Type/Code.pod6
Add cando example with Block
09:51
doc: 04fef0d547 | Altai-man++ | doc/Type/Code.pod6
Fix code example
synopsebot Link: doc.perl6.org/type/Code
doc: eead694b8c | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Code.pod6
Merge pull request #2805 from perl6/add-cando-example

Add cando example with Block Refs #2632 Thanks!
sena_kun oh-hoh, a broken test in nqp... 10:00
10:02 espadrine left, espadrine joined 10:10 antoniogamiz joined
antoniogamiz morning o/ 10:11
sena_kun o/
10:11 jeromelanteri left 10:21 Sgeo_ joined 10:23 jeromelanteri joined 10:24 Sgeo left 10:31 jeromelanteri left, lizmat joined
jmerelo hi! 10:40
10:45 jeromelanteri joined 10:47 kaare_ joined 10:51 ravenousmoose joined 10:56 cpan-p6 left 10:57 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
lizmat touristing some more& 11:05
11:05 lizmat left 11:22 ravenousmoose left
Geth doc: a2d5df4ebf | (JJ Merelo)++ | doc/Language/system.pod6
Reflow and correction
11:23
synopsebot Link: doc.perl6.org/language/system
11:27 aborazmeh joined, aborazmeh left, aborazmeh joined 11:30 Sgeo__ joined
sena_kun .tell lizmat thanks for merging! reminding that github.com/perl6/nqp/pull/540 should be merged too, for github.com/rakudo/rakudo/pull/2907 to pass all tests. :) 11:33
yoleaux sena_kun: I'll pass your message to lizmat.
11:33 Sgeo_ left 11:42 ravenousmoose joined 11:53 Sgeo_ joined
Geth doc: 957462d6dc | (JJ Merelo)++ | type-graph.txt
Adds Test to type graph, refs #2418
11:53
doc: 052aa287c8 | (JJ Merelo)++ | doc/Type/independent-routines.pod6
Created a "Type" independent routines

This shows up as "routines" because it's not a class or anything, but does not make htmlify.p6 choke.
This closes #2070. Also closes #2578 since we will not be creating that unless this proves down the line to be untenable.
Still, #2059 has to be addressed. We have copied routines here, but not eliminated them there.
synopsebot Link: doc.perl6.org/type/independent-routines
11:54 jmerelo left 11:56 Sgeo__ left 11:58 jeromelanteri left 12:04 antoniogamiz left 12:11 pecastro joined 12:30 molaf left 12:33 Sgeo__ joined 12:37 Sgeo_ left 12:45 dogbert17 joined 12:47 Cabanossi left
sena_kun 6c: my $a = Metamodel::ClassHOW.new_type(name => "A"); $a.^compose; say $a.new.WHAT ~~ $a; 12:55
committable6 sena_kun, gist.github.com/60a71a75786f49bf23...3e70f053f1
13:00 __jrjsmrtn__ left 13:01 Cabanossi joined
rba Temporary setup of ecosystem-api.p6c.org/ online for zef. DNS TLS might need a few hours more though. Feedback welcome. (new: ecosystem-api.p6c.org has address 116.203.142.62) 13:13
sena_kun 6c: my @A; @A[0] = 42, 47; dd @A; 13:14
committable6 sena_kun, ¦6c (37 commits): «Array @A = [(42, 47),]␤»
sena_kun 6с: my @A = [[1], [2, 3]]; my @b = @A »*» 0; @b[0][0] = 42; 13:23
13:27 molaf joined, Sgeo joined 13:29 Sgeo__ left, dustinm` left 13:34 dustinm` joined, zacts joined 13:45 jeromelanteri joined
sena_kun 6c: my @A = [[1], [2, 3]]; my @b = @A »*» 0; @b[0][0] = 42; 13:45
committable6 sena_kun, ¦6c (37 commits): «»
sena_kun 6c: my @A = [[1], [2, 3]]; my @b = @A »*» 0; @b[0][0] = 42; say @b; 13:46
committable6 sena_kun, ¦6c (37 commits): «[[42] [0 0]]␤»
sena_kun committable6, help
committable6 sena_kun, Like this: committable6: f583f22,HEAD say ‘hello’; say ‘world’ # See wiki for more examples: github.com/perl6/whateverable/wiki/Committable
sena_kun commit: 2018.10 my @A = [[1], [2, 3]]; my @b = @A »*» 0; @b[0][0] = 42; say @b; 13:47
committable6 sena_kun, ¦2018.10: «[[42] [0 0]]␤»
sena_kun commit: 2018.11 my @A = [[1], [2, 3]]; my @b = @A »*» 0; @b[0][0] = 42; say @b;
committable6 sena_kun, ¦2018.11: «[[42] [0 0]]␤»
13:48 jeromelanteri left 14:03 ravenousmoose left
sena_kun 6c: my @a; @a[0]<a b> = 42, 47; 14:04
committable6 sena_kun, ¦6c (37 commits): «» 14:05
sena_kun commit: gf7007ac0e my @a; @a[0]<a b> = 42, 47; 14:06
committable6 sena_kun, ¦gf7007ac0e: «Cannot find this revision (did you mean “f7007ac”?)»
sena_kun commit: gf7007ac my @a; @a[0]<a b> = 42, 47;
committable6 sena_kun, ¦gf7007ac: «Cannot find this revision (did you mean “f7007ac”?)»
sena_kun commit: f7007ac my @a; @a[0]<a b> = 42, 47;
committable6 sena_kun, ¦f7007ac: «»
sena_kun commit: gf7007ac my @a; @a[0]<a b> = 42, 47;
committable6 sena_kun, ¦gf7007ac: «Cannot find this revision (did you mean “f7007ac”?)»
14:09 ravenousmoose joined 14:10 zacts left 14:17 pamplemousse joined 14:25 molaf left
Geth perl6.org: 85d91d492f | timo++ (committed using GitHub Web editor) | source/downloads/index.html
use up-to-date link to "how to install rakudo star from source"
14:25
cpan-p6 New module released to CPAN! FindBin (0.3.2) by 03LEMBARK 14:31
14:33 Sgeo left 14:34 Sgeo joined 14:42 zacts joined 14:46 aborazmeh left 14:47 pamplemousse left 15:02 pamplemousse joined 15:03 molaf joined 15:04 ravenousmoose left 15:05 Sgeo_ joined 15:08 Sgeo left, vrurg joined 15:10 Sgeo_ left 15:15 zacts left 15:38 jmerelo joined 15:46 kent\n left 15:51 kent\n joined 16:00 espadrine left 16:01 Sgeo joined
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 16:02
16:13 rindolf left 16:14 dylanwh left 16:20 rindolf joined 16:23 dylanwh joined 16:27 reach_satori left 16:28 molaf left 16:36 vrurg left 16:37 vrurg joined 16:47 espadrine joined 16:55 reach_satori joined 16:57 zacts joined
Geth doc: 14c60815f9 | (Rafael Schipiura)++ (committed using GitHub Web editor) | doc/Type/Lock.pod6
Lock/Async to Lock::Async

Update link.
17:02
synopsebot Link: doc.perl6.org/type/Lock
17:04 molaf joined 17:13 pamplemousse left
sena_kun .oO ( time for a new Perl 6 User Survey is coming ) 17:22
jmerelo sena_kun: right :-) There was one half-made last year, right? 17:26
timotimo haven't we had two so far?
17:26 zacts left
jmerelo timotimo: is that so? Either I missed the second one, or I don't remember it. 17:27
timotimo it's entirely possible i'm hallucinating
17:28 ufobat joined
jmerelo I have the initial survey in GDocs, plus another survey in August 2018 that wasn't actually run (or has no answers) 17:29
sena_kun I am looking at docs.google.com/forms/d/19qSBpGWWc...wanalytics 17:33
and it says "June"
jmerelo sena_kun: that was the first one. 17:34
sena_kun and I am not aware about any other surveys, so I suspect if jmerelo doesn't know about it, I guess it is as well as non-existent
so we can plan the second one next month
jmerelo sena_kun: I can share the draft of the second version if you want. Do I have your Google Account?
sena_kun: I don't seem to have it. Please send it to me privately. 17:37
Already editing it to say "June 2019"
sena_kun well, we still have some time until June 17:38
timotimo i'm sure it'll arrive faster than expected 17:40
17:40 ravenousmoose joined
sena_kun did someone patch my calendar to replace more months into natives? D: 17:43
17:43 zakharyas joined 17:46 espadrine left 17:54 domidumont left 17:59 Actualey` joined 18:01 Actualeyes left
ufobat I've got a multi method a (with different signatures) and I want to add another version of a where the parameters are `(Positional $a)` for only those positoinal that could `self.b(|$a.values)`. b is a multi method as well 18:05
how does this work?
moritz you can use a subsignture in which you duplicate the signature of b 18:06
so if it's method b (Int $x, Str $y) 18:07
you can do multi method a (Positional $a (Int $, Str $)) { ... }
or maybe even use @a instead of "Positional $a"
18:08 Altai-man_ joined
ufobat in this case I need to add as many `multi method a`s as there are `multi method b(..)`s? 18:10
18:11 sena_kun left
moritz erm, you didn't mention that b was a multi :-) 18:12
ufobat ". b is a multi method as well" <- :p 18:13
moritz maybe you can use a where-block and bake something with cando
docs.perl6.org/routine/cando
18:13 espadrine joined
ufobat multi method a(Positional $a where { self.b.cando(|$a.values) }) { } # that's probably wrong, it doesnt work 18:18
18:18 zacts joined
ufobat first, i think, I can't do self.b i need something like self.^lookup('b'), but lookup wont work, that only gives the first matching method 18:21
moritz .^find_method maybe? 18:23
where { self.^find_method('b').cando(self, |@$a) } 18:24
maybe
ufobat in a(Positional $a )say self.^lookup('b').signature ~~ \|$a.values; <<- this returns always False :( 18:25
meh 18:27
moritz you're skipping the invocant
ufobat the self 18:28
?
moritz yes
ufobat in perl5 it would the first parameter, but in perl6?
moritz same
ufobat \(self, |$a.values) ?
moritz yes 18:29
ufobat still always false
repl.it/repls/YellowishRemarkableLevels <- this is the code in a repl browser 18:30
moritz isn't it the wrong way round? Capture ~~ Signature? 18:31
moritz a bit rusty 18:32
ufobat if i change the order its always true ;-) 18:33
masak looks right-way to me 18:51
given that a Capture contains arguments and a Signature contains parameters, and we want to match arguments against parameters 18:52
moritz in the case of regexes, we do Str ~~ Regex, so Data ~~ Pattern 18:53
by that token, I'd expect Capture ~~ Signature 18:54
docs.perl6.org/type/Signature#method_ACCEPTS 18:55
the docs agree with me :D
18:55 zakharyas left 18:58 zakharyas joined
Geth doc: taboege self-assigned Code quality issues in xt/examples-compilation.t github.com/perl6/doc/issues/2798
taboege++ created pull request #2812: examples-compilation.t memory and code quality
18:59
ufobat when i look at the signature that i see when i print it out: :(::T : |), it looks as if thats just the proto 19:06
19:06 jmerelo left
ufobat since b is a multi how could .signature reflect on that multi signature thingy? 19:07
timotimo there's a signature on the proto and one signature per candidate
moritz docs.perl6.org/type/Signature#method_ACCEPTS
sorry
the auto-generated proto always matches everything 19:08
but cando might help
ufobat ah 19:09
now it works! 19:10
moritz \o/
ufobat multi method a(Positional $a ) { say so self.^lookup('b').cando( \(self, |$a.values)) } 19:11
19:12 ufobat left 19:13 ufobat joined
ufobat and it works in a where block as well 19:13
but i guess it wont work in a subset since self might be not available there 19:15
19:16 zacts left
kybr 19:17
19:37 ufobat left 19:54 netrino joined 19:55 ravenousmoose left 19:59 ravenousmoose joined 20:00 quipa joined
cpan-p6 New module released to CPAN! GTK::V3 (0.12.0) by 03MARTIMM 20:01
20:19 zacts joined 20:33 khisanth_ left 20:36 dolmen joined 20:47 |oLa| joined 20:56 ravenousmoose left 20:58 Sgeo left, khisanth_ joined, molaf left, lichtkind joined 20:59 Sgeo joined 21:02 reach_satori left 21:06 |Sno| left 21:09 netrino left, [Sno] joined 21:12 |Sno| joined 21:13 zacts left, zacts joined 21:14 [Sno] left 21:22 Sgeo_ joined 21:23 zacts left 21:26 Sgeo left 21:27 Sgeo_ left, Sgeo joined 21:32 dolmen left, dolmen joined 21:34 Cabanossi left 21:35 Cabanossi joined 21:37 dolmen left 21:38 zakharyas left 21:43 reach_satori joined 21:53 syntaxman joined 21:58 lizmat joined 22:01 [Sno] joined 22:03 |Sno| left 22:05 Sgeo_ joined 22:07 woolfy joined, Sgeo left 22:12 maettu left 22:23 maettu joined 22:45 cpan-p6 left 22:51 reach_satori left 22:52 cpan-p6 joined, cpan-p6 left, cpan-p6 joined, reach_satori joined 22:55 lizmat left, lizmat joined 23:05 lizmat left 23:21 mowcat joined
23:26 woolfy left, aborazmeh joined, aborazmeh left, aborazmeh joined 23:30 zacts joined, rindolf left 23:39 zacts left 23:42 mowcat left 23:45 Altai-man_ left 23:46 mowcat joined 23:54 syntaxman is now known as syntaxman_