»ö« 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
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
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
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
Geth doc/master: 11 commits pushed by (JJ Merelo)++
review: github.com/perl6/doc/compare/4adad...107ee84bb7
08:10
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
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
antoniogamiz morning o/ 10:11
sena_kun o/
jmerelo hi! 10:40
lizmat touristing some more& 11:05
Geth doc: a2d5df4ebf | (JJ Merelo)++ | doc/Language/system.pod6
Reflow and correction
11:23
synopsebot Link: doc.perl6.org/language/system
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.
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
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
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
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]]␤»
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”?)»
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
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 16:02
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
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?
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
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
sena_kun did someone patch my calendar to replace more months into natives? D: 17:43
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"
ufobat in this case I need to add as many `multi method a`s as there are `multi method b(..)`s? 18:10
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
ufobat multi method a(Positional $a where { self.b.cando(|$a.values) }) { } # that's probably wrong, it doesnt work 18:18
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
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
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
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
kybr 19:17
cpan-p6 New module released to CPAN! GTK::V3 (0.12.0) by 03MARTIMM 20:01