»ö« 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.
Xliff timotimo: MVM_JIT_DISABLE didn't do anything. I am still getting the segfault, and this one I can't trace back to a location. 00:47
timotimo so in "bt" you don't see any frames that have a tc? 00:48
oh, perhaps you've got a moarvm with --debug=0
i'm not sure if it would have enough info left to figure out where tc lives 00:49
Xliff timotimo: I rakudobrew my stuff. Is there a way to get one with a greater debug? 00:57
timotimo rakudobrew has a switch that lets you give an option to moar's configure.pl
that's where --debug=3 would go
if you need to dig around in the local variables and such, you'll get a whole lot of "value optimized out" if your --optimize isn't =0
Xliff Dynamic variables are a PITA. 01:20
buggable New CPAN upload: Algorithm-AhoCorasick-0.0.11.tar.gz by TITSUKI modules.perl6.org/dist/Algorithm::A...an:TITSUKI 01:52
[Coke] tbrowder___: I believe that has already been reported. Not sure if someone has taken the ticket. 02:48
Geth doc: 20d6a3c5c0 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Test.pod6
Remove rogue space in `subtest`
04:15
synopsebot Link: doc.perl6.org/type/Test
Geth doc: 80fbb15ef3 | Coke++ | doc/Language/create-cli.pod6
whitespace
04:21
doc: 418f54fd14 | Coke++ | doc/Language/create-cli.pod6
standardize word
synopsebot Link: doc.perl6.org/language/create-cli
doc: bbe693ca30 | Coke++ | doc/Language/create-cli.pod6
Don't over-process the sub when compiling
buggable New CPAN upload: App-Perl6LangServer-0.0.1.tar.gz by AZAWAWI cpan.metacpan.org/authors/id/A/AZ/...0.1.tar.gz 07:42
El_Che ^---- a milestone 07:43
El_Che weekly: New CPAN upload: App-Perl6LangServer-0.0.1.tar.gz by AZAWAWI 08:10
notable6 El_Che, Noted!
nwellnhof p6: $_='###/';say TR/\#/x/ 08:46
camelia 5===SORRY!5=== Error while compiling <tmp>
Please backslash # for literal char or put whitespace in front for comment
at <tmp>:1
------> 3$_='###/';say TR/\#7⏏5/x/
nwellnhof But I did backslash # 08:47
Anyway, are comments in tr search lists even allowed?
jmerelo nwellnhof: why not? They should 08:51
nwellnhof: and it's right, it's backslashed 08:52
p6: $_='###/';say TR/ \# /x/
camelia 5===SORRY!5=== Error while compiling <tmp>
Please backslash # for literal char or put whitespace in front for comment
at <tmp>:1
------> 3$_='###/';say TR/ \#7⏏5 /x/
jmerelo p6: $_='###/';say tr/ \# /x/
camelia 5===SORRY!5=== Error while compiling <tmp>
Please backslash # for literal char or put whitespace in front for comment
at <tmp>:1
------> 3$_='###/';say tr/ \#7⏏5 /x/
jmerelo p6: $_='\\\/';say tr/ \ /x/ 08:53
camelia StrDistance.new(before => "\\\\/", after => "\\\\/")
jmerelo nwellnhof: the problem with TR is that it takes every character individually 08:54
p6: $_='###/';say TR/ '#' /x/
camelia 5===SORRY!5=== Error while compiling <tmp>
Please backslash # for literal char or put whitespace in front for comment
at <tmp>:1
------> 3$_='###/';say TR/ '#7⏏5' /x/
jmerelo p6: $_='###/';say TR/ \\# /x/ 08:56
camelia 5===SORRY!5=== Error while compiling <tmp>
Please backslash # for literal char or put whitespace in front for comment
at <tmp>:1
------> 3$_='###/';say TR/ \\#7⏏5 /x/
jmerelo p6: my $hash = Q'#'; $_='###/';say TR/ $hash /x/ 08:57
camelia ###/
jmerelo p6: my $hash = Q'#'; $_='###/';say TR/ $hash /x/; say $hash
camelia ###/
#
jmerelo p6: say "###/".trans(<#> => <x>) 08:59
camelia xxx/
jmerelo nwellnhof: so there you go
nwellnhof Doesn't help for code golf :) 09:00
p6:$_='###/';say TR/\x23/x/
evalable6 xxx/
jmerelo nwellnhof: that is better allright
nwellnhof This still looks like a bug. Rakudo *always* complains about # in search or replacement lists. 09:01
nwellnhof I just filed github.com/rakudo/rakudo/issues/2365 09:07
nwellnhof Oh, this was already reported: github.com/rakudo/rakudo/issues/2118 09:12
Geth doc: 86dca71606 | (JJ Merelo)++ | doc/Language/subscripts.pod6
Eliminates 'subscript adverb' category refs #1410
09:53
doc: bb7d63e9c1 | (JJ Merelo)++ | doc/Language/subscripts.pod6
Indexes flattening semicolon

Also adds examples. Closes #2379.
synopsebot Link: doc.perl6.org/language/subscripts
Geth doc: 6a34efc47f | (JJ Merelo)++ | doc/Language/subscripts.pod6
Fixes POD error and reflows
10:46
synopsebot Link: doc.perl6.org/language/subscripts
ufobat___ what happens if i do $foo ~~ sub { say @_ }, Assuming $foo is Str:D 11:10
Ah Accepts of Code is smart :-) does exactly the right thing 11:12
Geth doc: cb7233b0f2 | (Elizabeth Mattijsen)++ | doc/Language/create-cli.pod6
Tweaks in headers and levels
11:20
synopsebot Link: doc.perl6.org/language/create-cli
Geth doc: 2f97dd41f1 | (Elizabeth Mattijsen)++ | doc/Language/create-cli.pod6
X<>'s that were not supposed to show
11:28
synopsebot Link: doc.perl6.org/language/create-cli
Xliff m: sub a ($a, $b) { say "$a/$b" }; my @a(3, 4); a(@a.List) 11:31
camelia 5===SORRY!5=== Error while compiling <tmp>
The () shape syntax in array declarations is reserved
at <tmp>:1
------> 3b a ($a, $b) { say "$a/$b" }; my @a(3, 47⏏5); a(@a.List)
expecting any of:
constraint
formal…
Xliff m: sub a ($a, $b) { say "$a/$b" }; my @a=3, 4); a(@a.List)
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected closing bracket
at <tmp>:1
------> 3b a ($a, $b) { say "$a/$b" }; my @a=3, 47⏏5); a(@a.List)
Xliff m: sub a ($a, $b) { say "$a/$b" }; my @a=(3, 4); a(@a.List)
camelia Too few positionals passed; expected 2 arguments but got 1
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub a ($a, $b) { say "$a/$b" }; my @a=(3, 4); a(@a.Seq)
camelia Too few positionals passed; expected 2 arguments but got 1
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub a ($a, $b) { say "$a/$b" }; my @a=(3, 4); a(|@a)
camelia 3/4
Xliff .tell jnthn Thanks for the help with Supplies. I have a final signal handler pattern set up. You can see that, here: 11:37
yoleaux Xliff: I'll pass your message to jnthn.
Geth doc: 085dc971b4 | (Elizabeth Mattijsen)++ | doc/Language/create-cli.pod6
Document policy wrt to MAIN_HELPER
11:38
synopsebot Link: doc.perl6.org/language/create-cli
lizmat something wrong with Travis on doc: 501 Protocol scheme 'https' is only supported if IO::Socket::SSL is installed <URL:www.w3.org/> 11:51
Geth doc: 39ef5bb822 | (Elizabeth Mattijsen)++ | doc/Language/functions.pod6
Remove old MAIN documentation from functions

And replace it by a stub referring to the new CLI page
12:49
synopsebot Link: doc.perl6.org/language/functions
Xliff Is there a module that will determine the MIME type of an IO::Path or open file? 15:03
Oh, and modules.perl6.org is returning an error on search 15:04
MasterDuke Xliff: just worked for me, found modules.perl6.org/dist/File::LibMa...rth.org%3E 15:06
Xliff \o/
My first PR for p6-GtkPlus! 8-D 15:07
MasterDuke: Yep. Thanks. Weird, tho.
buggable New CPAN upload: App-Perl6LangServer-0.0.2.tar.gz by AZAWAWI modules.perl6.org/dist/App::Perl6La...an:AZAWAWI 15:33
Geth doc: 083f7c15cd | (Zoffix Znet)++ | doc/Language/glossary.pod6
Add decont to glossary
16:03
synopsebot Link: doc.perl6.org/language/glossary
Geth doc: 41d2504847 | (Zoffix Znet)++ | 3 files
Reword "in future language versions"

  - We *are* deprecating some features on language level in 6.d,
   even if the Rakudo implementation currently can't issue
   per-language-version deprecation warnings on methods
  - Just because an implementation doesn't short-circuit Junctions
   yet, doesn't mean that's defined behaviour on language level
16:08
doc: bab87c0c8b | (Zoffix Znet)++ | doc/Language/glossary.pod6
Fix formatting/Pod code
16:09
synopsebot Link: doc.perl6.org/language/glossary
Geth doc: 1745a13c12 | (Zoffix Znet)++ | doc/Language/glossary.pod6
dalek not longer daleks
16:10
Xliff How would you pass type objects to a sub? 16:14
my sub c ($a) { say $a.^name }; class A {}; c(A); 16:15
evalable6 A
geekosaur a type object is a value like any other 16:16
Xliff my use NativeCall; sub c ($cast-to, $a) { nativecast($cast-to, $a); }; class A {}; class B {}; say c(A, B.new).^name; 16:17
m: \my use NativeCall; sub c ($cast-to, $a) { nativecast($cast-to, $a); }; class A {}; class B {}; say c(A, B.new).^name;
camelia 5===SORRY!5===
Type 'use' is not declared
at <tmp>:1
------> 3\my use7⏏5 NativeCall; sub c ($cast-to, $a) { nati
Malformed my
at <tmp>:1
------> 3\my7⏏5 use NativeCall; sub c ($cast-to, $a) {
Xliff m: my use NativeCall; sub c ($cast-to, $a) { nativecast($cast-to, $a); }; class A {}; class B {}; say c(A, B.new).^name;
camelia 5===SORRY!5===
Type 'use' is not declared
at <tmp>:1
------> 3my use7⏏5 NativeCall; sub c ($cast-to, $a) { nati
Malformed my
at <tmp>:1
------> 3my7⏏5 use NativeCall; sub c ($cast-to, $a) {
Xliff m: use NativeCall; sub c ($cast-to, $a) { nativecast($cast-to, $a); }; class A {}; class B {}; say c(A, B.new).^name;
camelia Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque (B)
in sub nativecast at /home/camelia/rakudo-m-inst-1/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 68…
Xliff Oops. :/
timotimo yeah, missing "is repr" 16:18
Xliff Yeah, well I am trying to wrap nativecast so callers won't need to "use NativeCall" to get it.
timotimo no need to wrap it, you can just re-export it :)
Geth doc: 5e36e9da70 | (Zoffix Znet)++ | doc/Type/Promise.pod6
Make it easier to see defaults for Promise.keep/cause
17:41
synopsebot Link: doc.perl6.org/type/Promise
Geth doc: 13b8134711 | (Zoffix Znet)++ | doc/Type/Promise.pod6
Improve Promise:U.kept/broken

  - Fix incorrect default value listed for .broken
  - Make it easier to see .kept's default value
17:46
synopsebot Link: doc.perl6.org/type/Promise
Geth doc: 304ae01eec | Coke++ | doc/Language/create-cli.pod6
whitespace
19:01
synopsebot Link: doc.perl6.org/language/create-cli
SmokeMachine m: role R { method r {...} }; class C does R { method r {} }; class C2 does R { has R $.a handles <r> is required }; say C2.new: :a(C.new) # should it die? Isn’t `r` implemented on `C2`?! 19:15
camelia 5===SORRY!5=== Error while compiling <tmp>
Method 'r' must be implemented by C2 because it is required by roles: R.
at <tmp>:1
Guest97756 If you aren't sure about a Unix command, you can use apropos or man -k to look up possibly related terms. 20:00
Is there something equivalent for p6doc?
El_Che Guest97756: I don't think so, but maybe some people here will know 20:04
Zoffix Guest97756: not aware of something like that. You could file an Issue requesting such a feature: github.com/perl6/doc/issues/new (be sure to mention you're talking about p6doc utility). I think in 2019 there will be some decent work done with searchability on docs site/p6doc utility 20:05
yoleaux 19:27Z <samcv> Zoffix: I think that is right. all our other tests are that way where we print the +
19:32Z <samcv> Zoffix: ok this is why: sprintf('%b', -1) #> 1111111111111111111111111111111111111111111111111111111111111111
Guest97756 El_Che I figured if the knowledge is anywhere, it's here' 20:05
Zoffix Thanks.
masak oh hai, #perl6 20:08
Guest97756 "Learning Perl 6" has just hit the local libraries, so I'm looking through it to see what questions it might provoke. That was #1. :-)*
masak so, I've started re-reading the Apocalypses
reading them, I'm filled with a flood of emotions I felt when I first got excited about Perl 6 20:09
there's a sense in those documents that not only is everything going to be *improved*, but everything is going to be *extensible* in sane ways
Geth doc: uzluisf++ created pull request #2381:
Add some information to the input section
masak macros and slangs (at least seen with the clarity of hindsight) play a large part of that sane extensibility, and they're mentioned all over the Apocalypses 20:10
Geth doc: 920e243a32 | (Luis F. Uceta)++ | doc/Language/py-nutshell.pod6
Add some information to the input section

Change variable name: entered -> user_input Add some information to the section and reflow text.
synopsebot Link: doc.perl6.org/language/py-nutshell
doc: 153a33c0bf | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/py-nutshell.pod6
Merge pull request #2381 from uzluisf/master

Add some information to the input section
Zoffix currently doesn't see how slangs could become non-experimental considering you have to mutate arguably internal parts of the compiler ATM 20:12
Guest97756: FWIW, we also have "User Experience" repo: github.com/perl6/user-experience You could catalogue the provoked questions in an Issue there :) 20:13
Guest97756 quit 20:20
Geth user-experience: 1a5f5f964a | (Zoffix Znet)++ (committed using GitHub Web editor) | Getting-Perl6/README.md
Gemove getperl6.com website idea

It was poo-pooed and domain already expired
20:22
timotimo did someone park getperl6.com?
El_Che timotimo: it looks unregistered 20:46
Geth doc: 6f2d2afc64 | Coke++ | doc/Language/py-nutshell.pod6
whitespace
21:18
synopsebot Link: doc.perl6.org/language/py-nutshell
masak Zoffix: that's a statement of what you'd have to do now. so I don't think I'm in disagreement in any way. 22:12
Zoffix: in general, providing macros in a language also means you have to be *painfully* public about your compiler internals. 22:13
'night, #perl6
Geth doc: uzluisf++ created pull request #2382:
Add minor fixes, rephrase sentences and reflow text
22:52