»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:01 geekosaur left 00:02 geekosaur joined 00:15 pierre_ joined 00:23 geraud joined 00:30 neuraload left, cdg left 00:40 inra joined
colomon m: say 0.msb 00:42
camelia rakudo-moar 4829f1: OUTPUT«Nil␤»
00:46 k-man joined 01:01 aborazmeh joined, aborazmeh left, aborazmeh joined 01:03 Jesmaybe joined 01:05 kurahaupo joined 01:10 nadim left 01:13 kurahaupo left 01:17 Jesmaybe left, Jesmaybe joined, xfix_ left 01:19 xfix joined 01:23 notbenh_ joined, isacloud joined, avalenn_ joined 01:24 w4and0er96 joined 01:29 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg 01:32 zacts left 01:33 avalenn_ left 01:34 aborazmeh left, avalenn joined, pierre_ left, inra left 01:35 pierre_ joined 01:39 Jesmaybe left, FROGGS_ joined, Jesmaybe joined 01:40 avalenn left 01:42 avalenn joined 01:43 FROGGS left 01:44 Jesmaybe left 01:46 ilbot3 left 01:48 ilbot3 joined 01:59 cibs left 02:01 cibs joined 02:15 matiaslina joined 02:31 Jesmaybe joined 02:41 matiaslina left 02:49 noganex joined 02:51 akchli joined 02:53 noganex_ left 02:56 akchli left 02:58 matiaslina joined 03:01 Herby__ joined
Herby__ o/ 03:01
03:09 Herby__ left 03:14 pierre_ left 03:19 Jesmaybe left 03:21 pierre_ joined 03:24 Herby__ joined 03:25 pierre_ left, pierre_ joined 03:29 aborazmeh joined, aborazmeh left, aborazmeh joined 03:34 labster left 03:41 imcsk8_PTO left, imcsk8_P1O joined 03:51 TEttinger left 03:56 matiaslina left 04:02 pierre_ left 04:04 cyphase left, flexibea` left 04:07 khw left 04:09 cyphase joined, Herby__ left 04:10 pierre_ joined 04:11 aborazmeh left 04:15 pierre_ left 04:28 Cabanossi left 04:31 zacts joined, Cabanossi joined 04:32 TEttinger joined, canopus left 04:38 nadim joined, canopus joined 04:40 BenGoldberg left 04:41 skids left, cognominal joined 04:42 nadim left 04:52 wamba joined 05:07 pierre_ joined 05:08 bjz joined 05:16 bjz left 05:28 bjz joined 05:36 cog_ joined, cognominal left 05:45 wamba left 05:50 RabidGravy joined 06:07 bjz left 06:08 e1 joined 06:11 pierre_ left, neuraload joined 06:13 pierre_ joined 06:22 neuraload left, neuraload joined 06:24 firstdayonthejob joined 06:25 darutoko joined 06:26 itaipu joined 06:27 RabidGravy left 06:32 firstdayonthejob left 06:37 domidumont joined 06:39 pierre_ left 06:41 domidumont left 06:42 domidumont joined 06:44 amalia_ left, pierre_ joined 06:45 labster joined 06:46 amalia_ joined 06:55 pierre_ left 06:57 pierre_ joined 06:58 itaipu left 06:59 ufobat joined 07:05 wamba joined 07:08 rurban joined 07:11 cooper_ joined
FROGGS_ o/ 07:12
07:12 FROGGS_ is now known as FROGGS 07:14 rindolf joined 07:24 TheovdH joined 07:30 bjz joined 07:31 e1 left 07:34 pdcawley joined 07:38 wamba left 07:55 pierre_ left 07:57 pierre_ joined
andrzejku_ FROGGS: hey :) 07:59
08:00 bjz left 08:01 jonas2 joined 08:04 g4 joined 08:09 pdcawley left 08:10 rindolf left 08:11 cowens joined
TheovdH Hi, if a grammar match fails is there a variable that holds the maximum position of the parsing process? 08:14
cowens The string "\x[09aa]\x[09cd]\x[09b0]" appears to be one character (I think it is the pr ligature in Bengali), the reason "\x[09aa]\x[09cd]\x[09b0]”.chars returns 2 is that “\x[09aa]\x[09cd]” and “\x[09b0]” are the graphemes, and the fact that the font shows প্র instead of প্ and র is just a font level ligature (like fi can become in some fonts), right? 08:15
08:16 zakharyas joined, dakkar joined
TheovdH I did a lot of parsing and such a feature has always been very helpful 08:16
08:18 pdcawley joined 08:19 pdcawley left
FROGGS TheovdH: rakudo does that internally, but .match does not do that... but we had several requests already 08:23
TheovdH: what I do in such a situation is to use .submatch instead
08:24 pdcawley joined
FROGGS m: dd "abc" ~~ /abd/ 08:25
camelia rakudo-moar 4829f1: OUTPUT«Nil␤»
FROGGS m: dd "abc" ~~ /abd/; dd $/
camelia rakudo-moar 4829f1: OUTPUT«Nil␤Nil $/ = Nil␤»
FROGGS m: dd "abc".match(/abd/);
TheovdH FROGGS: thanks. I didn't know about that. Its not in the index. I will see if I get it to work.
camelia rakudo-moar 4829f1: OUTPUT«Nil␤»
08:25 cibs left
FROGGS m: dd "abc".submatch(/abd/); 08:25
camelia rakudo-moar 4829f1: OUTPUT«No such method 'submatch' for invocant of type 'Str'␤ in block <unit> at <tmp> line 1␤␤»
TheovdH right
FROGGS m: grammar G { token TOP { a+ } }; say G.parse("aaaaaabbbbbb"); 08:26
camelia rakudo-moar 4829f1: OUTPUT«Nil␤»
FROGGS m: grammar G { token TOP { a+ } }; say G.subparse("aaaaaabbbbbb");
camelia rakudo-moar 4829f1: OUTPUT«「aaaaaa」␤»
FROGGS ahh, subparse, not submatch
08:26 rindolf joined 08:27 cibs joined
FROGGS m: grammar G { token TOP { a+ } }; dd G.parse("aaaaaabbbbbb"); 08:27
camelia rakudo-moar 4829f1: OUTPUT«Nil␤»
TheovdH ok. thanks
FROGGS sad that a failed .parse does not through, otherwise we could sneak the highwater mark in there 08:28
TheovdH that would be ideal 08:29
08:31 rurban left 08:32 rurban joined 08:41 girafe left 08:45 zakharyas left 08:48 zakharyas joined 08:49 gregf_ joined 08:58 pierre_ left
FROGGS s/through/throw/ 08:59
09:02 bjz joined 09:03 pierre_ joined 09:08 remmie joined 09:09 remmie left
jkramer m: say [Z+] { foo => [1, 2, 3], bar => [2, 3, 4] }.values 09:11
camelia rakudo-moar 4829f1: OUTPUT«(3 5 7)␤»
jkramer m: say [Z+] { foo => [1, 2, 3], bar => [2, 3, 4] }.values
camelia rakudo-moar 4829f1: OUTPUT«(3 5 7)␤»
jkramer m: say [Z+] { foo => [1, 2, 3] }.values
camelia rakudo-moar 4829f1: OUTPUT«(6)␤»
jkramer Is there a way to make this work in the edge case where there's only one pair in the hash?
FROGGS m: say [Z+] { foo => [1, 2, 3], }.values 09:13
camelia rakudo-moar 4829f1: OUTPUT«(6)␤»
09:14 cgfbee joined
FROGGS no idea 09:15
moritz m: say [Z+] { foo => [1, 2, 3] }.values, [0 xx *] 09:18
camelia rakudo-moar 4829f1: OUTPUT«(3)␤»
09:27 Averna joined 09:29 eliasr joined
jkramer Hmm, not exactly what I was hoping for, but it'll do :) 09:32
Thanks
09:40 telex joined 09:45 labster left 09:47 aborazmeh joined, aborazmeh left, aborazmeh joined
dalek c: b073a44 | (Vynce Montgomery)++ | doc/Language/about.pod6:
fix typo in doc about how to fix typo in doc, doc

the first example "=head2" block was spelled as "d2" instead of "=head2" which probably did actually blow some minds... it at least caused a misfire in mine.
09:49
c: 2c41617 | Altai-man++ | doc/Language/about.pod6:
Merge pull request #987 from VynceMontgomery/patch-1

fix typo in doc about how to fix typo in doc, doc
09:57 ocbtec joined, ocbtec left, zakharyas left 09:58 ocbtec joined
dalek c/Altai-man-patch-1: fbed1d3 | Altai-man++ | doc/Type/Cool.pod6:
Fix of the example code

The example was obviously corrupted with redundand whitespace cleanup commit. VynceMontgomery++
09:58
09:59 Averna left
dalek c: 5fccce4 | (Vynce Montgomery)++ | doc/Language/classtut.pod6:
minor mistake fix

This method was referred to as the second method, which was confusing since the method before it was also referred to as the second method. Removed the ordinal; just use the name, for future-proofing.
10:00
c: 283692a | Altai-man++ | doc/Language/classtut.pod6:
Merge pull request #988 from VynceMontgomery/patch-2

minor wording fix
10:08 zakharyas joined 10:09 pierre_ left 10:15 Actualeyes left 10:18 travis-ci joined
travis-ci Doc build passed. Altai-man 'Fix of the example code 10:18
travis-ci.org/perl6/doc/builds/170724977 github.com/perl6/doc/commit/fbed1d37b981
10:18 travis-ci left 10:20 cog_ left 10:26 pierre_ joined 10:36 bjz left, bjz joined 10:42 cowens left 10:43 CIAvash joined 10:48 wamba joined 10:53 wamba left 11:02 rurban left 11:09 wamba joined 11:11 rurban joined, grondilu joined 11:20 pierre_ left
grondilu is amazed by the output of $ perl6 --target ast -e '' 11:20
11:20 thib joined
moritz it's pretty boring housekeeping, really 11:21
11:22 bhm_ left
lizmat is more surprised by "$ perl6 --target ast -e 'say "foo"'" which seems to repeat itself ? 11:24
at the end
11:25 rurban left 11:26 Alikzus joined 11:31 zakharyas left 11:38 CIAvash left 11:44 rurban joined 12:04 cschwenz joined 12:05 bhm joined, cschwenz left, cschwenz joined 12:06 pierre_ joined
FROGGS lizmat: that's about sink vs no-sink context 12:08
12:09 zakharyas joined
lizmat ah, yes, in this case it could be determined easily that it is a sink context, but generally it's a lot more involved, right ? 12:10
FROGGS I'm not qualified to answer :/ 12:11
dalek href="https://modules.perl6.org:">modules.perl6.org: 9fa5ea3 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/PostProcessor/METAChecker.pm:
Redesign dist source-url META checker

The current check gives only 1 hour window of opportunity to notice any issues with the source-url in META file, as the checker does not run on dists without fresh commits.
Perform the check on all dists regardless whether we have new commits, but do not do the check if the source-url matches the repo we fetched the META file from; since this already guarantees the source-url is correct. This will give us even better reduction of HTTP requests than doing the checks for dists with fresh commits only and any issues will stay in the build log until fixed.
12:13
12:22 zakharyas left 12:50 CIAvash joined 13:11 cdg joined 13:16 rurban left 13:17 geraud left 13:19 sena_kun joined 13:22 bjz left, breinbaas left 13:23 nicq20 joined, wamba left
dalek c: fbed1d3 | Altai-man++ | doc/Type/Cool.pod6:
Fix of the example code

The example was obviously corrupted with redundand whitespace cleanup commit. VynceMontgomery++
13:24
c: 4ec4dbd | Altai-man++ | doc/Type/Cool.pod6:
Merge pull request #989 from perl6/Altai-man-patch-1

Fix of the example code
13:30 skids joined 13:33 neuraload left 13:40 neuraload joined 13:46 CIAvash left 13:48 wamba joined 13:52 aborazmeh left 13:56 snowman_ left
dalek c: 42c2cd7 | coke++ | / (3 files):
inline predefined-search-items
13:56
c: 517b4ad | (Will Coleda)++ | / (3 files):
Merge pull request #980 from perl6/remove-predefined

inline predefined-search-items
13:58 acrussell joined 13:59 wamba left
dalek c: 7193e12 | coke++ | doc/Language/modules.pod6:
remove trailing whitespace
14:01
14:03 kurahaupo__ joined
[Coke] er... 14:06
ah, no, 980 is fine.
I thought it pulled in one of the other two I just checked manually.
14:07 itaipu joined, dmaestro joined
[Coke] doc: `git branch -a --merged` could probably remove most of those branches. 14:08
14:17 rurban joined 14:18 wamba joined 14:20 cyphase left, khw joined 14:23 pierre_ left 14:25 cyphase joined
nicq20 If anyone has a minute, I'm having trouble with 'is-deeply'. :/ 14:26
masak m: say "abc def abc".comb(/a<(bc)>/)
camelia rakudo-moar 23faf6: OUTPUT«(abc abc)␤»
masak I expected "(bc bc)" here
masak submits rakudobug 14:27
also, that used to work -- it's a recent regression
will investigate/bisect later
moritz m: 'abc def' ~~ /a<(bc)>/ and say $/ 14:28
camelia rakudo-moar 23faf6: OUTPUT«「bc」␤»
14:28 raiph joined
moritz curious 14:28
masak oh, here's a better example for the RT ticket: 14:29
m: say "abc xbc".comb(/a<(bc)>/)
camelia rakudo-moar 23faf6: OUTPUT«(abc)␤»
nicq20 moritz: I thought that comb was supposed to return what it matches?
masak it's correct in that it matches only on the first word 14:30
it's incorrect in that it includes the "a", when the <( )> tell it to exclude it
[Coke] doc (huh, my git branch -a shows a lot more branches than github does.)
masak nicq20: does that answer your question?
jnthn [Coke]: git remote prune origin 14:31
masak (also, I am not moritz) :P
moritz [Coke]: git fetch --prune
jnthn moritz++ # shorter solution :)
[Coke] moritz: heh. just found that in the docs. have never had to use that before.
moritz [Coke]: you can also run git config --global fetch.prune 1 14:32
viki nicq20: what's the issue with is-deeply?
masak bug submitted
&
moritz [Coke]: then it cleans up automatically on each fetch 14:33
nicq20 masak: Yeah, kind of. I was under the impression that it returns what watches the regex, not just any sub-match (the <(bc)> part in this case). If that is true it works fine.
viki nicq20: it's supposed to, yes
raiph hi #perl6, fyi, doc.perl6.org search is broken for me
viki bisectable6: m: say "abc xbc".comb(/a<(bc)>/) 14:34
bisectable6 viki, On both starting points (old=2015.12 new=b7201a8) the exit code is 0 and the output is identical as well
viki, Output on both points: (bc)
nicq20 masak: Oops! Sorry, about the name confusion.
viki nicq20: that may be due to lizmat++'s recent changes. Bisectable shows the right result and I'm guessing it just hasn't built the most recent commits.
nicq20: what's the problem with is-deeply? 14:35
DrForr raiph: Yep, confirmed.
sena_kun raiph, syntax error, indeed.
nicq20 viki: I probably just don't understand it fully, but it seems to not like comparing some hashes in my code. I'll see if I can golf it any. 14:36
[Coke] moritz: probably better to do manual cleanup JIC.
lizmat masak: I'm not sure I agree with you re /a<(bc)>/ 14:37
dalek c: 0b57313 | (Zoffix Znet)++ | template/search_template.js:
Unbreak search
viki raiph: ^ should work again in about 15 minutes
[Coke] viki: that was probably a result of my recent merge. apologies.
thanks for cleaning up my mess@!
viki nicq20: it should work fine with hashes. Perhaps there are object instances that are different? 14:38
nicq20: is-deeply is nothing more than eqv with Failure handler under the hood
lizmat according to the doc, it comb should return matches, *not* captures
moritz lizmat: <( limits matches 14:39
m: say 'abc' ~~ /<( bc/; say ~$/; say $/.from
camelia rakudo-moar 23faf6: OUTPUT«「bc」␤bc␤1␤»
viki m: say 'abc' ~~ / . <( bc/; say ~$/; say $/.from
camelia rakudo-moar 23faf6: OUTPUT«「bc」␤bc␤1␤»
viki And the )> does it for the other end
moritz viki: thanks, my example was pointless :-)
viki :) 14:40
nicq20 viki: Yeah, is some tests I got it work fine. Seems to be my code.
14:40 itaipu left
raiph DrForr, sena_kun, viki, [Coke], #perl6 <3 14:40
14:40 itaipu joined
nicq20 viki: Oh, gee whiz. Looks like my code generates a Seq instead of an Array. Well, fiddlesticks. :/ 14:42
moritz that's my typical problem with is-deeply. It's very nitpicky
viki That's my typical joy with is-deeply. It detects issues :) Seq is very different from an Array. 14:44
lizmat m: say "abc".match(/a<(bc)>, :as(Str)/) # golfed the problem
camelia rakudo-moar 23faf6: OUTPUT«5===SORRY!5===␤Unrecognized regex metacharacter , (must be quoted to match literally)␤at <tmp>:1␤------> 3say "abc".match(/a<(bc)>7⏏5, :as(Str)/) # golfed the problem␤Unable to parse regex; couldn't find final '/'␤at <tmp>:1␤------>…»
lizmat m: say "abc".match(/a<(bc)>/, :as(Str)) # really golfed the problem
camelia rakudo-moar 23faf6: OUTPUT«abc␤»
lizmat m: say "abc".match(/a<(bc)>/, :as(Match)) # correct 14:45
camelia rakudo-moar 23faf6: OUTPUT«「bc」␤»
viki Ahhh
FROGGS m: say "abc".match(/a<(bc/, :as(Str)) # golfed more :P
camelia rakudo-moar 23faf6: OUTPUT«abc␤»
lizmat note this was not picked up by spectests :-(
FROGGS :o(
14:47 rindolf left
moritz lizmat: you can't expect the spectets to cover all combinations of features 14:47
lizmat true
moritz lizmat: if there are tests that check that match objects are constructed correctly, then I expect there to be one test with .comb(regex)
lizmat but can you expect a developer to try out all of the combinations of features during development ?
viki Why not? 14:48
nicq20 Does 'Z' always return a Seq?
viki I'd expect the tests to be comprehensive enough to test all the features. Especially if the roast is THE Perl 6 specification
FROGGS viki: it will cover more and more and that is certainly the goal 14:49
but >99.999% is unlikely to happen
nicq20 m: dd <a b> Z <1 2>
camelia rakudo-moar 23faf6: OUTPUT«(("a", IntStr.new(1, "1")), ("b", IntStr.new(2, "2"))).Seq␤»
viki m: dd ^2 Z ^2+2 14:50
camelia rakudo-moar 23faf6: OUTPUT«((0, 2), (1, 3)).Seq␤»
moritz viki: because there are too many combinations to cover if you aim for an exponential space
FROGGS would be nice to have a overage analysis... maybe next gsoc?
coverage*
viki FROGGS: there's a rought analyzis already on perl6.WTF
FROGGS: well, it's *full* analysys, but the coverage checker isn't perfect yet. And well, it can't tell you whether you're testing a combination of features 14:51
FROGGS ahh, I see
still awesome though
viki timotimo++ made it
14:51 hwcomcn joined
FROGGS timotimo++ then :o) 14:52
14:52 wamba left
viki s: &infix:<Z>, \(^2, ^2+2) 14:52
SourceBaby viki, Sauce is at github.com/rakudo/rakudo/blob/23fa...t.pm#L1622
nicq20 So is 'Z' incorrect on the docs? According to docs.perl6.org/routine/Z it should give a 'List'.
14:53 jonas2 left
nicq20 viki: Oh, I see. It uses a give/take. That would generate the Seq. 14:54
dalek c: fd3d7b8 | (Zoffix Znet)++ | doc/Language/operators.pod6:
Z meta returns a Seq
viki m: sub foo { return (); }; dd foo().WHAT
camelia rakudo-moar 23faf6: OUTPUT«Cannot look up attributes in a type object␤ in block <unit> at <tmp> line 1␤␤»
moritz m: sub foo { return (); }; dd foo() 14:55
camelia rakudo-moar 23faf6: OUTPUT«()␤»
moritz m: sub foo { return (); }; say foo().^name
camelia rakudo-moar 23faf6: OUTPUT«List␤»
viki m: sub foo { gather {} }; dd foo().^name
camelia rakudo-moar 23faf6: OUTPUT«"Seq"␤»
14:56 neuraload left, dmaestro left
viki nicq20: well, it returns an empty List if the list of lists got no elements, but that may be a bug/inconsistency 14:57
m: dd [] Z []
camelia rakudo-moar 23faf6: OUTPUT«().Seq␤»
viki has no idea how to trigger that return () if lol.elems == 0 14:58
lizmat nicq20: testing a .comb fix now
viki Ah
m: dd infix:<Z>
camelia rakudo-moar 23faf6: OUTPUT«()␤»
viki nicq20: it returns a list when called without args.
nicq20 viki: Not super useful, but it returns a list! :) 14:59
viki nicq20: not for long... :P 15:00
15:02 sufrostico left 15:03 nightfrog joined
nicq20 Well, if a List is really needed, look like i can just use '.eager' to turn it into a List. 15:05
15:05 nightfrog left
viki nicq20: why not .List? 15:05
15:05 nightfrog joined
nicq20 m: (<a b> Z <1 2>).eager.WHAT 15:05
camelia ( no output )
nicq20 m: say (<a b> Z <1 2>).eager.WHAT
camelia rakudo-moar 23faf6: OUTPUT«(List)␤»
viki m: (1, 2 ... *).List[1..10].say 15:06
camelia rakudo-moar 23faf6: OUTPUT«(2 3 4 5 6 7 8 9 10 11)␤»
viki m: (1, 2 ... *).eager[1..10].say
(hang)
camelia rakudo-moar 23faf6: OUTPUT«(timeout)»
nicq20 viki: Huh, looks like '.List' would work better (didn't know that was a thing :D). '.eager' turns it into a list before returning, hence the hang right? 15:08
viki nicq20: eager evaluates it eagerly, making it fetch all the elements, hence the hang, since it's an infinite sequence
There's a .Type for pretty much all of our types 15:09
m: DateTime.now.Date.say
camelia rakudo-moar 23faf6: OUTPUT«2016-10-26␤»
viki m: Mix.new(1 => 1.243, 5 => 30).Bag.say
camelia rakudo-moar 23faf6: OUTPUT«bag(1 => 1.243, 5 => 30)␤»
viki wat 15:10
nicq20 viki: ... Oh.
viki oh
m: Mix.new-from-pairs(1 => 1.243, 5 => 30).Bag.say
camelia rakudo-moar 23faf6: OUTPUT«bag(5(30), 1)␤»
nicq20 viki: Does the .Type thing go off of constructors? How does it work? 15:11
viki nicq20: it's just a regular method. We simply made them DoTheRightThing on most of core types 15:12
s: DateTime.now, 'Date', \()
SourceBaby viki, Sauce is at github.com/rakudo/rakudo/blob/23fa...me.pm#L364
viki ^in that case, it just a straightforward instantiation 15:13
15:13 stevieb9 joined
viki s: Mix.new-from-pairs(1 => 1.243, 5 => 30), 'Bag', \() 15:13
SourceBaby viki, Sauce is at github.com/rakudo/rakudo/blob/23fa...Mix.pm#L37
viki In this case ^ we have to .Int the values and filter out the negatives
15:13 stevieb9 left
viki And basically all objects have some sort of thing like that (or their ancestor classes have some generic handling) 15:13
15:14 stevieb9 joined
viki And IIRC this is also what the type coercers use 15:14
m: sub (Bag(Mix) $x) { dd $x }(Mix.new(1 => 1.243, 5 => 30))
camelia rakudo-moar 4943ef: OUTPUT«(1 => 1.243=>1,5 => 30=>1).Bag␤»
lizmat nicq20: github.com/rakudo/rakudo/commit/ae85bac528 15:15
viki m: sub (Bag(Mix) $x) { dd $x }(Mix.new-from-pairs(1 => 1.243, 5 => 30))
camelia rakudo-moar 4943ef: OUTPUT«(5=>30,1=>1).Bag␤»
viki m: sub (YourMom(Mix) $x) { dd $x }(Mix.new-from-pairs(1 => 1.243, 5 => 30))
camelia rakudo-moar 4943ef: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Invalid typename 'YourMom' in parameter declaration.␤at <tmp>:1␤------> 3sub (YourMom7⏏5(Mix) $x) { dd $x }(Mix.new-from-pairs(1␤»
viki heh
15:16 g4 left
viki nicq20: and that's it. infix:<Z> now always-always returns a Seq 15:17
dalek t-ZMQ: 2874908 | (Zoffix Znet)++ | META.info:
Add mandatory "perl" META field

The `perl` field specifies the minimal perl version for which this distribution can be installed and is a mandatory field. The value of `"6.*"` indicates any version suffices.
It is recommended to use [Test::META](modules.perl6.org/repo/Test::META) module as an author test, to catch any issues with the META file.
t-ZMQ: d89c744 | azawawi++ | META.info:
Merge pull request #8 from zoffixznet/patch-1

Add mandatory "perl" META field
viki m: class YourMom {}; sub (YourMom(Mix) $x) { dd $x }(Mix.new-from-pairs(1 => 1.243, 5 => 30)) 15:20
camelia rakudo-moar 4943ef: OUTPUT«No such method 'YourMom' for invocant of type 'Mix'␤ in sub at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
viki Yeah, it does
dalek c: d123ff2 | MasterDuke17++ | doc/Type/Seq.pod6:
Fix some awkward grammar
15:22
15:26 stevie_b joined 15:27 Actualeyes joined, gregf_ left 15:29 stevieb9 left
nicq20 Woo, consistancy! 15:32
15:43 cschwenz left 16:03 itaipu left 16:10 itaipu joined 16:12 wamba joined
raiph 2009: "jnthn: I've never been entirely clear on what package vs module distinction is ... masak: neither have I." (irclog.perlgeek.de/perl6/2009-11-17#i_1741018) 16:15
2014: "Ven: well, I still don't really get what's the diff. between package VS module (semantically)" (irclog.perlgeek.de/perl6/2014-07-21#i_9058427)
jnthn figured it out somewhere around 2010 :) 16:16
m: module A { }; module A { }
camelia rakudo-moar 70a367: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Redeclaration of symbol 'A'␤at <tmp>:1␤------> 3module A { }; module A7⏏5 { }␤ expecting any of:␤ generic role␤»
jnthn m: package A { }; package A { } 16:17
camelia ( no output )
jnthn m: package A { }; module A { }
camelia ( no output )
jnthn A package is just a stub that can be replaced/stolen by a module/class/role 16:18
Of note
m: class A::B { }; say A::B.HOW.^name; say A.HOW.^name
camelia rakudo-moar 70a367: OUTPUT«Perl6::Metamodel::ClassHOW␤Perl6::Metamodel::PackageHOW␤»
dalek Iish: 75d2d43 | niner++ | lib/DBDish/Pg/Connection.pm6:
Do not rely on your dependencies to load modules

Fixes DBDish::Pg::Connection failing to compile when loading a module properly imports symbols lexically instead of as globals.
Iish: 4ce29ec | niner++ | t/0 (2 files):
Prepare tests for lexical module loading
jnthn That's why I can write:
m: class A::B { }; class A { }
camelia ( no output )
jnthn And it is able to nab the A
nine Nested packages are...tricky 16:19
Especially in combination with scoping
jnthn Indeed 16:20
When the "nabbing" happens cross-compilation unit it's..."fun"
nicq20 Huh. Never quite understood the difference myself, but that makes sense. 16:24
raiph m: package A { sub foo is export { say 42} }; module A { sub foo is export { say 42 } } 16:29
camelia rakudo-moar 70a367: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤A symbol '&foo' has already been exported␤at <tmp>:1␤»
jnthn It's about the A itself; it doesn't imply anything about what's inside of it.
16:31 dakkar left, canopus left
raiph jnthn: So `package ...` =~= `namespace ...`? 16:34
jnthn raiph: Well, namespace is a bit of an overloaded word, but I guess so 16:36
raiph: A package/module/class etc. have a Stash, which is what actually holds the symbols (it's the thing you get back from .WHO) 16:37
So in that sense they're all namespaces 16:38
They're all different kinds of type, with package being the only kind that doesn't care about redeclaration.
16:39 canopus joined 16:44 itaipu left 16:46 breinbaas joined 16:53 nicq20 left
dalek on: 1b33a57 | (Zoffix Znet)++ | META.info:
Add mandatory "perl" META field

The `perl` field specifies the minimal perl version for which this distribution can be installed and is a mandatory field. The value of `"6.*"` indicates any version suffices.
It is recommended to use [Test::META](modules.perl6.org/repo/Test::META) module as an author test, to catch any issues with the META file.
16:54
moritz guesses that Zoffix++ won't have problems getting his 4 PRs for the hacktoberfest challenge :-) 16:56
timotimo yeah
16:56 aries_liuxueyang left
viki "299 contributions on Oct 26, 2016" github.com/zoffixznet/ 16:57
timotimo "created 102 repositories"
fantastic 16:58
"hot! created a pull request in rust-lang/rust that received 3 comments"
viki just a typo fix 16:59
16:59 aries_liuxueyang joined
timotimo i saw %) 16:59
viki .tell masak some of your modules have unmerged PRs for META file issues going back over a year ago. The issues they fix currently render the modules uninstallable (provides section). You also got a few more fixes today. All of these repos have *at least* one META PR: gist.github.com/zoffixznet/66edf83...633ef383aa 17:01
yoleaux viki: I'll pass your message to masak.
17:05 hwcomcn left 17:08 domidumont left
raiph m: package A { sub foo { say 11 }; sub bar { say 12 } }; package A { sub bar { foo }; sub foo { say 22 } }; say A::&foo.signature 17:12
camelia rakudo-moar ab9469: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Malformed lookup of ::&foo; please use ::('&foo'), ::{'&foo'}, or ::<&foo>␤at <tmp>:1␤------> 3bar { foo }; sub foo { say 22 } }; say A7⏏5::&foo.signature␤»
raiph oops, sorry for noise
17:16 sufrostico joined 17:18 stevieb9 joined 17:21 firstdayonthejob joined 17:22 stevie_b left
grondilu guys, do you keep an eye on webassembly? The more I read about it, the more I'm looking forward to Perl 6 targetting it. 17:24
viki It is asmjs? The one that lets you boot up Windows 98 in your browser XD 17:25
s/It is/Is it/;
grondilu not quite.
asm.js is a subset of js that can be compiled into somewhat native code. 17:26
17:26 pdcawley left
viki Seenms to be similar "The initial implementation of WebAssembly support in browsers will be based on asm.js" en.wikipedia.org/wiki/WebAssembly 17:26
grondilu yes but no 17:27
it's more complicated than that.
viki OK.
17:27 pdcawley joined, pdcawley left
viki Well, as with most any of stuff like this: it's all a matter of available volunteers. 17:28
grondilu there is already a C Api that allows you to build wasm code without passing through any javascript stage
github.com/WebAssembly/binaryen
viki As in, "keeping an eye on" doesn't matter much if there's no time to do anything.
17:29 pdcawley joined, pdcawley left
viki reads perl6.party/post/Open-Source-Projec...et-Reality 17:29
grondilu some stuff can be done I believe. at least one programming language already has an experimental compiler to wasm: github.com/brson/mir2wasm/ 17:30
17:30 pdcawley joined
grondilu (that language being Rust) 17:30
viki \o/
viki is learning Rust ATM
grondilu: can we use that C API through our NativeCall? 17:31
Or is that... compiles C to wasm without JS intermediarry
grondilu of course, but that won't be much useful.
viki Ah
17:32 espadrine joined
grondilu the C API is very low level. It just serializes a wasm AST if I understand correctly. 17:32
17:32 hobbs left
grondilu so you'd still need to do quite a bit of translation between different kinds of AST. 17:33
or translate Perl 6's 6model into something that can directly be written into wasm code. Or something like that.
17:35 pdcawley left
grondilu if Perl 6 were targetting wasm, we could write code in Perl 6 that would run in the browser, and access all DOM stuff. That'd be insanely cool. 17:35
viki pmurias++ is currently working on the JS backend. Maybe you should touch base with him on wasm 17:36
17:37 stevieb joined
grondilu pmurias seems to struggle quite a bit with the JS backend. I'm starting to lose hope it will ever be done. 17:38
viki :/
grondilu and wasm is the future anyway.
viki ehehe 17:39
I think I recall someone telling me the same thing about Ruby on Rails :)
[Coke] pmurias++ is making progress. 17:42
if you have specific areas of concern, please let he or I know.
If you'd like to donate cycles, also, same.
grondilu "donate cycles"? 17:43
perlpilot do work.
viki Oh... 17:44
perlpilot I'd be interested in hearing more about this "struggle quite a bit" in some detail.
viki puts away his bicycle
I saw a ton of commits fly in recently. Didn't look like a struggle to me. 17:45
grondilu if you want me to admit that behind my "struggle quite a bit" there is only a "it's not there yet", I will.
[Coke] I think that's a more reasonably stated concern, yes. :)
viki :D 17:46
17:46 CIAvash joined 18:02 ufobat left 18:09 hobbs joined
[Coke] adds github.com/rakudo/rakudo/wiki/dev-env-vars 18:10
18:11 pmurias joined
viki FWIW RAKUDO_EXCEPTIONS_HANDLER is a user-facing feature, not just dev 18:11
There's also RAKUDO_OPTIMIZER_DEBUG and RAKUDO_MODULE_DEBUG 18:12
[Coke] viki: the word dev is confusingly used there.
viki: note that some of these are already listed in doc's 00-running and need to be moved to the wiki. 18:13
timotimo do we want to have MVM env vars in there, too?
[Coke] more like dev as in "foo-dev", "I'm going to do dev work with foo", not "I am a dev of foo"
viki [Coke]: what are we moving? Just the ones useful for rakudo dev only?
pmurias grondilu: wasm is currently mostly a more concise form of asm.js
[Coke] timotimo: sure. I was just finding a place to hang them that wasn't in doc's, based on previous chat about rakudo-specific things not being in there. 18:14
viki: anything RAKUDO specific, likely.
viki fair nuff
18:15 rurban left 18:18 stevieb9 left
dalek c: ce19814 | coke++ | doc/Programs/00-running.pod6:
link to rakudo-specific vars documented elsewhere
18:18
18:18 rurban joined, rurban left
[Coke] timotimo: added MVM evn vars. 18:21
18:21 RabidGravy joined
timotimo nice 18:22
viki [Coke]++
[Coke] that leaves github.com/perl6/doc/issues/990 which I just opened. 18:23
(basically the inverse of my original ticket, which was to put all the RAKUDO_ ones in there; alex pointed out my wrong-thinking on that one.)
(mainly because we don't have a styleguide/actual style on dealing with rakudo-specific things that aren't really spec.) 18:24
18:30 Sqirrel joined 18:31 pdcawley joined 18:32 CIAvash left
avuserow hi all. I saw a link about JSON parsers on Hacker News that had a test suite, so I forked it and added Perl 6's JSON::Tiny. My fork is at github.com/avuserow/JSONTestSuite , with results in the results directory and the implementation in parsers/test_json_tiny.p6 18:33
I'm still looking over the results gradually (since I'm at $dayjob) but thought some people here might be interested
especially since it's easy to add more parser implementations and it seems to have found some crashes at various levels 18:34
oh, and the original writeup is at seriot.ch/parsing_json.html
18:37 cdg left
viki avuserow: are there prepared results or do we need to run test_json_tiny? 18:37
timotimo JSON::Fast probably wants to go there, too
it's not ... the most robust implementation :)
FROGGS viki: look at github.com/avuserow/JSONTestSuite/...s/logs.txt 18:38
18:38 vendethiel joined
avuserow viki, there are visual results in `results/parsing.html` if you want. (clone and open locally is probably easiest) 18:38
viki thanks
avuserow if you want to replicate it locally, run `python3 run_tests.py` in the root directory. Looks like it should work on OSX and Linux. 18:39
viki Yeah, it's gonna take forever to clone on my crappy network with 38 KiB/s :} 18:40
timotimo ugh 18:41
poor you
avuserow :( might be faster to just download the result file(s) you care about 18:42
timotimo github ought to let you grab it via the raw link
viki Yeah, I grabbed results and style.css and looks like it worked
mst viki: 'git clone --depth 2 ...'
viki star: use JSON::Tiny; dd from-json "-1e+9999" 18:43
camelia star-m 2016.04: OUTPUT«-Inf␤»
viki mst: I don't think that'll work due to this being a work. I get "Counting objects: 1047" normally and "Counting objects: 1023" with --depth... Still slow :) 18:44
a fork, not a work :|
mst viki: oh, well, yes, if it's basically all a single commit that won't help
tis a useful thing to know exists though, because -usually- it does
viki Yeah, thanks. mst++ 18:45
18:45 girafe joined
viki star: use JSON::Tiny; dd from-json Q|["\uD800\u"]| 18:46
camelia star-m 2016.04: OUTPUT«Malformed UTF-16; incomplete surrogate pair␤ in method str_escape at /home/camelia/star-2016.04/share/perl6/site/sources/E796CB0CB7DEAEAFA56E8558AD18241417AC328A (JSON::Tiny::Actions) line 51␤ in regex str_escape at /home/camelia/star-2016.04/share/perl6…»
viki hehe
Looks like a lot of those "parser crashed" are just Unicode encoding stuff 18:49
avuserow I tried to make it so anything but a properly typed exception from JSON::Tiny counted as a crash, so some crashes might just be uncaught exceptions that should be rewrapped
viki star: use JSON::Tiny; dd from-json Q|["\uD800\u"]|; CATCH { default { .^name.say } } 18:51
camelia star-m 2016.04: OUTPUT«X::AdHoc␤»
viki aye
star: use JSON::Fast; dd from-json Q|["\uD800\u"]|;
camelia star-m 2016.04: OUTPUT«expected exactly four alnum digits after \u␤ in block at sources/11ED005DCC03AA42CAA87A439556DB9B6B2C9E59 (JSON::Fast) line 102␤ in sub parse-string at sources/11ED005DCC03AA42CAA87A439556DB9B6B2C9E59 (JSON::Fast) line 76␤ in block at sources/11ED00…»
viki
.oO( we pack two JSON encoders with Star? )
18:52
timotimo i think panda uses JSON::Fast
viki Ah
timotimo JSON::Fast doesn't do any typed exceptions at all 18:54
avuserow viki, I re-ran it without treating untyped exceptions as crashes (just fails), the affected reports are at gist.github.com/avuserow/3805b294d...2df98f3e31 18:55
viki star: use JSON::Tiny; dd from-json Q|[1,]| 18:57
camelia star-m 2016.04: OUTPUT«Input (4 characters) is not a valid JSON string␤ in sub from-json at sources/9B467EEF9267A777BB53BAA2F19BE2C9D756BEED (JSON::Tiny) line 59␤ in block <unit> at <tmp> line 1␤␤»
18:57 pochi joined
viki Oh, I'm looking at wrong thing 18:57
timotimo Perl6 JSON::TinyCRASHn_structure_100000_opening_arrays.json - stack exhaustion? 18:58
avuserow: could you be so lovely and also run it with JSON::Fast? :) 18:59
stmuk_ pl6anet.org/drop/rakudo-star-2016.10.1.dmg
can anyone confirm that works on 10.11 and 10.12 19:00
19:00 labster joined 19:01 ufobat joined
timotimo i know JSON::Fast does absolutely nothing about surrogates and such 19:01
19:01 pdcawley left
avuserow timotimo: I just added it, let me push 19:01
timotimo fantastic
i expect much more fails :) 19:02
it's JSON::Fast, not JSON::Correct, after all ;)
basically it should be called JSON::Fast::GoodEnough
RabidGravy xl
avuserow timotimo: pushed, including results. please take a look at the test script too to make sure it's not insane
lunch &
timotimo i'm only looking at logs.txt, and i don't see the update there :P 19:03
avuserow (I put it in the repo, not the gist)
RabidGravy we're easily pleased
timotimo OK
FROGGS JSON::Fast is better at least 19:04
19:04 dha joined
timotimo better than what? 19:05
anyway, i'll go grocery shopping so we can have dinner
FROGGS timotimo: better than JSON::Tiny 19:06
RabidGravy cool, can you get some of that really fine spaghetti as we're all out now
19:12 darutoko left 19:13 cognominal joined
RabidGravy speaking of JSON I would like a thing like XSLT but for JSON (and in JSON,) someone be a love and write it for me 19:17
19:19 amalia_ left 19:22 amalia_ joined 19:27 buggable left, buggable joined
viki buggable: eco 19:28
19:28 ocbtec left
buggable viki, Out of 739 Ecosystem dists, 323 have warnings and 0 have errors. See modules.perl6.org/update.log for details 19:28
viki \o/
The front page says we have 736 dists... One missing is the test module Foo, one more may be another test one, but third one is missing somehow
RabidGravy "Required `perl` field is missing" seems to be the favourite 19:29
moritz maybe one of them counts multiple versions of the same dist as as separate?
viki Yeah, it does. And now that you mention it, I recall tbrowder uploading two different versions, so I guess that accounts for the discrepancy. 19:30
RabidGravy: not for long, hopefully. I'm about half-way through submitting PRs to fix that :) 19:31
FROGGS viki: 731 and 732 look identical...
viki Yeah, that's tbrowder's two different versions (sha1s are different)
RabidGravy there's one missing description and a handful of missing 'provides' 19:32
viki :o
the latter are uninstallable
RabidGravy viki, are you just doing the 'perl' ones - I'll do the rest over the next few days
viki Well, unless they're scripts. I think those would still install. 19:33
(and IIRC the site doesn't check to see whether there are modules in the distro)
RabidGravy: yeah, just the perl ones
RabidGravy $ grep '\[warn\]' update.log | cut -c35- | sort | uniq -c
1 Required `description` field is missing
322 Required `perl` field is missing
11 Required `provides` field is missing
viki RabidGravy: note that I spotted a couple of masak's distros without provides but with PRs adding those provides
your bash-foo impresses me :) 19:34
RabidGravy the missing provides means they won't work when they're installed doesn't it?
viki RabidGravy: right. The exception being binaries, as those do not need to be listed in provides. Though, I'm of the opinion such dists need to include an empty provides section.
Since it's a mandatory section. 19:35
RabidGravy I just impressed myself by guessing the first time the value for cut
I'll start doing them then :0)
viki RabidGravy++
19:37 andrzejku joined
viki Do we have a way to specify in the `perl` field version PRIOR to some version, rather than a minimum? Looking for answer for github.com/labster/p6-Lingua-Numbe...-256449491 19:48
19:51 cdg joined
masak moritz: I just saw seriot.ch/parsing_json.html and thought about you for some reason :) 19:52
yoleaux 17:01Z <viki> masak: some of your modules have unmerged PRs for META file issues going back over a year ago. The issues they fix currently render the modules uninstallable (provides section). You also got a few more fixes today. All of these repos have *at least* one META PR: gist.github.com/zoffixznet/66edf83...633ef383aa
viki & relocating
moritz masak: :-) 19:56
masak: it's an interesting exercise, but I won't start rejecting JSON files with non-ASCII white space, for example
19:57 pdcawley joined
masak why do people insist on writing "white spaces" (countable) instead of the much more intuitive "white space" (uncountable)? 19:59
"space" is a mass noun; so is "white space" 20:00
lucs likes "whitespace"
geekosaur nobody understands mass nouns any more 20:01
20:01 rindolf joined
harmil_wk I want to write a function that takes two functions as parameters and returns a function that has the union of their signatures and calls both of them with the appropriate parameters. Is that possible? 20:02
masak harmil_wk: "union of their signatures"? could you provide an example?
vendethiel masak: just for the anecdote... In french, if you're talking about "space" as in "void", it's "un espace". But for the character, it's "une escape" (fem.)
une espace, rather. 20:03
masak to me, "union" is something like set("A", "B") ∪ set("A", "C") -> set("A", "B", "C")
vendethiel sounds about right
harmil_wk e.g. I have "sub foo($a, :$b) {...}" and "sub bar($c, :$b) {...}" and I want to take those as parameters and return something like "-> $a, $c, :$b {...}'
masak aha
right, so "union" on the nameds side of things
vendethiel wouldn't it be easier if everything was named there?
harmil_wk yes
masak and concatenation on the positionals side of things
jnthn I'd just accept everything into a slurpy and a cache, introspect the sigs, and slice 20:04
wtf
harmil_wk I guess for positionals, the naming won't get joined in a useful way, but that's okay
jnthn I'd just accept everything into a slurpy array and hash, introspect the sigs, and slice
20:04 leego joined
vendethiel jnthn: are you doing cache-related stuff on moarvm? :P 20:05
harmil_wk I need to return a function that introspects correctly (I'm trying to define MAIN programmatically, so I actually have to have it have the right signature)
jnthn heh, no, though I guess I was yesterday at dayjob and I will be tomorrow :P
harmil_wk I'm trying to write a module that gives MAIN defaults from a config file, but otherwise does the normal MAIN processing on args. 20:07
vendethiel has been doing Perl 5 for work recently, and fell even more in love with Perl 6 doing so..
The fact it was written by people several years ago who barely knew Perl 5 doesn't help; certainly.
timotimo FROGGS: i'm not aware of doing anything right with JSON::Fast :)
vendethiel
.oO( At least I got all my colleagues to install rakudo on their machine to get some tools running )
harmil_wk vendethiel: I highly recommend looking into modernperlbooks.com/ it might help 20:08
But so will installing rakudo :)
vendethiel harmil_wk: I'm not allowed to rewrite that code ;-)
"it could break stuff" I mean, I found bugs. Turns out -- they didn't matter because most of this is dead code anyway...
harmil_wk Well, adding some "use" statements at the top isn't really "rewriting" ;-)
vendethiel harmil_wk: having to fix the warnings/errors that ensue however... (it does have strict & warnings, though! Good start.) 20:09
No one here likes Perl, partly because of this... (and because they are C++/Java developers and refuse to believe their language isn't the One True Way) 20:10
RabidGravy right, just reviewed all of those "provides" things 20:11
they all have PRs now
masak, you have a bunch of PRs on various modules updating the META (some are missing 'perl' or 'provides' or both ) 20:12
20:13 setty1 joined
masak RabidGravy: thanks for the heads-up. I have many such notifications turned off, so I need to be told which ones to pay attention to. 20:21
RabidGravy I can give you a list of the afflicted modules in a tick, 20:27
viki, I just sent a PR for the lone missing "description" one too 20:32
20:32 espadrine left 20:33 andrzejku left 20:34 vendethiel left, eliasr left
RabidGravy masak, they are tardis, Adventure-Engine, crypt, text-indented :) 20:34
20:38 bjz joined
timotimo twitter.com/tinLoaf/status/791375287430868992 - someone recognize this language/alphabet/writing system? 20:39
dalek c: 3813f5e | (David H. Adler)++ | doc/Language/5to6-perlop.pod6:
Fixed typo ("explains" to "explain" on line 14)
20:43
20:44 bjz left
RabidGravy timotimo, I've seen that one today 20:44
20:44 vendethiel joined 20:45 pdcawley left 20:46 setty1 left
moritz Armenian 20:46
20:46 bjz joined
timotimo oh 20:46
moritz I've cheated, and painted two of them on shapecatcher.com/
timotimo thanks :)
moritz en.wikipedia.org/wiki/Armenian_(Unicode_block)
.. and I've answered on twitter
timotimo noooooo, you stole my thunder 20:47
that i was going to steal from you
20:47 leego left
moritz lol 20:47
20:48 pmurias left 20:49 sufrostico left, wamba left 20:50 sufrostico joined 20:51 leego joined 20:53 sena_kun left
timotimo nobody cares about my #WeltraumSchlager tweet ;_; 20:53
moritz oh noez.
RabidGravy shocking 20:54
20:55 wamba joined
lizmat timotimo: www.youtube.com/watch?v=9T3Xz5elbe4 ?? 20:57
20:59 acrussell left 21:02 skids left 21:03 Zoffix joined
RabidGravy my naming strategy for modules is now "pick a single word in English that describes it the use google translate to find a pleasing word" :) 21:03
21:05 snowman joined
RabidGravy so now I know what the Shona for "go-between" is ;-) 21:06
21:09 grondilu left
jonadab RabidGravy: And if you translate that from Shona to Japanese, and the result from Japanese to Spanish, then from Spanish to Finnish, then Finnish back to English, is it still "go-between"? 21:09
RabidGravy Oooh
21:10 wamba left
RabidGravy well it ends up as "envoy" after a few iterations ;-) 21:10
jonadab That's actually not too bad. Still same idea. 21:11
dalek c: 939f369 | (Zoffix Znet)++ | META.info:
Add mandatory "perl" META field

The `perl` field specifies the minimal perl version for which this distribution can be installed and is a mandatory field. The value of `"6.*"` indicates any version suffices.
It is recommended to use [Test::META](modules.perl6.org/repo/Test::META) module as an author test, to catch any issues with the META file.
21:13
21:16 RabidGravy left 21:19 geraud joined 21:26 eliasr joined 21:28 kurahaupo__ left 21:30 rurban joined 21:38 Herby__ joined 21:41 pdcawley joined
Herby__ o/ 21:41
Zoffix \o
Herby__ Anyone here use Vim and vim-perl for perl6? I'm a vim novice and am having a hard time having the plugin recognize .p6 or .pm6 files for correct syntax highlioghting 21:42
I have vim-perl plugin installed with Vim Plug
the plugin works properly for .pl files, not so much for .p6 or .pm6
kind of stuck at this point
21:42 ggoebel joined
timotimo Herby__: i have a key binding to :set ft=perl6 21:45
it's <Leader>p6 where i set my leader to , 21:46
Herby__ hmm
what file extension do you typically use for a simple perl script? .p6? 21:47
21:50 nicq20 joined
dha unless something changed while I wasn't looking, I think programs are .p6 and modules are .pm6 21:50
Herby__ k, thats what I thought but then saw this on perltricks: perltricks.com/article/194/2015/9/...ng-in-Vim/
where it mentions using .pm6 21:51
nicq20 Herby__: As far as I know, tests are just '*.t' 21:52
21:59 bjz left
dha Huh. .p6 seems to work with my vim. But I've got other syntax things installed besides vim-perl, so maybe that's why. 22:00
22:03 dha left
Herby__ hmm 22:03
22:12 bjz joined 22:13 stevieb left, bjz left 22:22 TheovdH left 22:28 stevieb joined 22:35 bjz joined, cyphase left, firstdayonthejob left 22:39 ufobat left 22:40 cyphase joined 22:43 pdcawley left 22:46 Herby__ left
Zoffix Found the last "missing" dist; it's ugexe's Foo. So we have 2 extra foos and 1 extra tbrowder's dist making up the 3 extra dist discrepancy 22:50
22:50 bjz left 22:55 Juerd joined
Zoffix w00t... finished sending all 382 PRs to fix missing `perl` in META \o/ 22:57
rofl "698 contributions on Oct 26, 2016" on github.com/zoffixznet 22:58
tbrowder Zoffix: is my dist causing problems?
Zoffix tbrowder, no, but that dist is not installable
avuserow Zoffix++ # keeping the ecosystem in good shape 22:59
tbrowder Which dist? AFAIK, I only have one in the ecosystem: Net::IP::Lite 23:01
Zoffix tbrowder, this one: github.com/perl6/ecosystem/blob/ma...#L731-L732 23:02
tbrowder, I forget what it is... but I recall it wasn't installable with neither zef nor panda; they weren't able to find stuff.
buggable, eco 23:03
buggable Zoffix, Out of 739 Ecosystem dists, 296 have warnings and 0 have errors. See modules.perl6.org/update.log for details
Zoffix w00t, already below 300. Will go down as people merge PRs
timotimo whoa, did buggable just learn that?
Zoffix My job here is done
timotimo i don't think i've seen this before
Zoffix timotimo, yeah, it's new.
Zoffix flicks the cape
23:03 Zoffix left 23:04 jnthn left
ugexe his module fetches with zef on my end anyway 23:04
tbrowder ref ecosystem, Zoffix: the way to have two or more versions was discussed and i did as instructed. so it looks like i should forget anything but the master branch, or should i refer to a release branch? or? 23:06
23:09 vendethiel left, vendethiel joined
viki ugexe: tbrowder oh yeah, just tried and works for me to. Maybe the time when it didn't work was on my other box with older zef. And what wasn't working is trying to install a particular version, like zef install 'Net::IP::Lite:ver<0.1.4>', but I've just tried and it worked, so never mind. 23:11
23:12 pierre_ joined
tbrowder ok, so my two versions of one dist are ok? 23:12
viki tbrowder: yup. Just tried both and this time both worked.
tbrowder thanks, good to hear 23:13
23:13 rurban left
viki And last time was this, but that was on my other box and I don't even know what versions I have installed on it: irclog.perlgeek.de/perl6/2016-10-12#i_13385804 23:14
23:14 skids joined
ugexe you would have had to of had a 3 day old or newer zef on that day for it to have worked, so that probably explains why 23:16
viki Ah :)
23:17 pierre_ left
geekosaur 's classically trained brain splats at the "of" 23:18
viki
.oO( should of, would of, could of... )
23:20
geekosaur 've 23:21
timotimo i wouldn't've written it that way 23:22
23:22 nicq20 left
geekosaur ("have" after the guillotine got it) 23:22
23:29 skink joined
ugexe depending on where you are from "would have had to of" becomes one giant slur-word 23:30
23:33 jast left 23:34 girafe left 23:35 pdcawley joined 23:36 jast joined 23:39 rindolf left 23:53 fredstorm joined 23:54 cdg left 23:57 fredstorm left, pdcawley left