Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-02-23

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 cdarroch left #perl6
00:05 jtbraun1 joined #perl6
00:07 cognominal joined #perl6
00:09 awwaiid left #perl6
00:14 molaf_ joined #perl6
00:16 pjcj left #perl6
00:17 pjcj joined #perl6
00:17 diakopter rakudo: https://gist.github.com/839726
00:18 p6eval rakudo 10d86d: OUTPUT«(timeout)»
00:18 ponbiki left #perl6
00:18 diakopter timeout on 1690?
00:18 molaf left #perl6
00:18 diakopter (1691 I mean)
00:21 Tene phenny: ask jnthn if I should expect to need to write my own repr for cardinal, or if I should be able to get by on P6opaque at first.
00:21 phenny Tene: I'll pass that on when jnthn is around.
00:21 Tene phenny: thanks; you're very helpful
00:21 donri p6opaque mo?
00:22 ponbiki joined #perl6
00:25 MayDaniel left #perl6
00:27 Tene donri: The Perl 6 specification includes representation polymorphism.  You should be able to use objects mostly without caring about how they're actually represented in memory, and various ways in which you should be able to indicate what sort of memory representation you want.  P6opaque is the primary representation used for objects in the nom refactor of rakudo.
00:29 Tene donri: The traditional example of representation polymorphism is packing of native types.  If you have "my int @foo[10];", where the lowercase "int" indicates a native type instead of the Perl 6 class Int, you should be able to represent the storage of that array with a contiguous hunk of memory the length of 10 native ints
00:29 jtbraun1 left #perl6
00:29 Tene Instead of having a separate container, attributes, separate storage, etc. for each int object
00:30 Tene donri: Similarly, P6object should be able to inline attributes of native types in arbitrary classes.
00:32 Tene donri: Does that sufficiently satisfy your curiosity?
00:33 Tene donri: I'm trying to use 6model (the object model being developed for the nom refactor of rakudo) for Cardinal, the Ruby compiler that treed and I have worked on.
00:33 donri but do you get an int or an Int?
00:33 Tene donri: I'm sorry?  I need more context for that question.
00:33 donri my int @foo
00:34 Tene Right, but what about it?  That's an array that stores ints.
00:34 donri i guess that's what you meant with the "use without caring about repr"
00:35 donri that you can use these ints as Ints
00:35 donri but why would Int need more storage than ints?
00:37 diakopter b/c the runtime needs to know the type of scalars that are boxed
00:38 Tene donri: a few things... Int is unsized, and can hold arbitrarily-large values, etc.
00:38 donri ah
00:38 envi joined #perl6
00:38 rdesfo joined #perl6
00:38 Tene Using int as a type annotation tells Perl 6 that it can do optimization to hold only that much, and that it's a value type, so the details can all be optimized out, etc.
00:39 Tene http://perlcabal.org/syn/S09.html#Compact_structs
00:39 diakopter http://perlcabal.org/syn/S09.html#Compact_arrays  especially
00:41 Tene rakudo: class ColorInt is Int { has $.color is rw }; my Int $x = ColorInt.new();
00:41 p6eval rakudo 10d86d:  ( no output )
00:42 Tene rakudo: class ColorInt is Int { has $.color is rw }; my Int $x = ColorInt.new(:color("cyan")); say $x.color
00:42 p6eval rakudo 10d86d: OUTPUT«cyan␤»
00:44 Tene donri: I'm not sure if I actually answered your question there.
00:44 diakopter my answer holds at a most basic level...
00:45 donri rakudo: my int $x = 5; say $x.WHAT
00:45 p6eval rakudo 10d86d: OUTPUT«===SORRY!===␤Malformed my at line 22, near "int $x = 5"␤»
00:45 diakopter not yet implemented
00:45 donri ah :)
00:45 diakopter perlesque: my int $x = 5; say $x.GetType
00:45 p6eval perlesque: OUTPUT«System.Int32␤»
00:45 Tene nqp: my int $x := 5;
00:45 p6eval nqp:  ( no output )
00:46 Tene nqp: my int $x := 5; say $x.WHAT;
00:46 p6eval nqp: OUTPUT«Confused at line 1, near "say $x.WHA"␤current instr.: 'parrot;HLL;Grammar;panic' pc 17541 (gen/hllgrammar-grammar.pir:4828)␤»
00:46 Tene nqp: my int $x := 5; say($x.WHAT());
00:46 p6eval nqp: OUTPUT«invoke() not implemented in class 'Integer'␤current instr.: '_block11' pc 41 (EVAL_1:30198797)␤»
00:46 Tene nqp: my int $x := 5; say($x.WHAT);
00:46 p6eval nqp: OUTPUT«Can only use get_what on a RakudoObject␤current instr.: '_block11' pc 0 (EVAL_1:8)␤»
00:46 Tene There are still some issues, as you can see. :)
00:47 diakopter perlesque has int (but not Int)
00:47 diakopter (but it does have BigInteger, as I showed there today in the hamming example)
00:48 diakopter perlesque: https://gist.github.com/839752
00:48 Tene nqp: my int @foo[10]; @foo[0] := 1;
00:48 p6eval perlesque: OUTPUT«First 20 Hamming numbers: ␤1␤2␤3␤4␤5␤6␤8␤9␤10␤12␤15␤16␤1​8␤20␤24␤25␤27␤30␤32␤36␤1691st Hamming number: 2125764000␤One millionth Hamming number: 51931278044838873608958984375000000000000000000​0000000000000000000000000000000000000␤Elapsed: 00:00:10.2479716␤»
00:48 p6eval nqp:  ( no output )
00:48 Tene nqp: my int @foo[10]; @foo[0] := 1; my $x := @foo[0]; say($x.WHAT);
00:48 p6eval nqp: OUTPUT«Can only use get_what on a RakudoObject␤current instr.: '_block11' pc 0 (EVAL_1:15104808)␤»
00:48 Tene although, that was binding and not assignment
00:49 Tene So, reasonable that it's an int and not an Int
00:49 donri rakudo: say int.^methods
00:49 p6eval rakudo 10d86d: OUTPUT«Could not find sub &int␤  in main program body at line 22:/tmp/fSMIb0G4Kd␤»
00:49 diakopter by "not yet implemented", I meant "not yet implemented *at all*, as in all native types"
00:50 donri yea :)
00:50 donri bedtime, thanks
00:50 diakopter l8r
00:51 Tene nqp: say(int.HOW.methods(int));
00:51 p6eval nqp: OUTPUT«Method 'methods' not found for invocant of class 'RakudoObject'␤current instr.: '_block11' pc 38 (EVAL_1:18)␤»
00:51 diakopter nqpclr: say(int.HOW.methods(int));
00:52 diakopter that's odd
00:52 diakopter nqpclr: say(int.HOW.methods(int));
00:53 diakopter someone killed p6eval for the first time in a long time
00:53 mtk left #perl6
00:54 donri left #perl6
00:56 woosley joined #perl6
00:56 p6eval left #perl6
00:56 p6eval joined #perl6
00:56 diakopter ok whatevs
00:56 diakopter I guess someone removed/renamed the nqpclr target
01:01 mtk joined #perl6
01:11 gbacon joined #perl6
01:12 gbacon left #perl6
01:30 jferrero left #perl6
01:30 qiuhw joined #perl6
01:35 ponbiki left #perl6
01:36 lamstyle left #perl6
01:38 dsp_ left #perl6
01:38 HarryS left #perl6
01:46 rdesfo left #perl6
01:54 plobsing_ joined #perl6
01:54 ponbiki joined #perl6
01:56 am0c left #perl6
01:57 plobsing left #perl6
02:04 noganex left #perl6
02:05 sorear good * #perl6
02:06 noganex joined #perl6
02:08 stkowski left #perl6
02:09 am0c joined #perl6
02:09 whiteknight left #perl6
02:10 diakopter sorear: hi
02:13 jtbraun1 joined #perl6
02:24 jaldhar joined #perl6
02:31 jtbraun1 left #perl6
02:36 lamstyle joined #perl6
02:36 dsp_ joined #perl6
02:42 lue joined #perl6
02:42 lue hello world! o/
02:44 sorear HI!
02:45 HarryS joined #perl6
02:48 colomon \o
02:57 takadonet1 joined #perl6
02:57 takadonet1 hey all
02:58 colomon \o
03:00 sorear hello takadonet1
03:00 takadonet1 sorear: how are you sir?>
03:04 stifynsemons joined #perl6
03:05 diakopter odd; dalek didn't report my commit/push to S05
03:06 agentzh joined #perl6
03:06 sorear takadonet1: busy
03:06 diakopter ... and ... I'm getting angry pink unicorns from github web ui
03:07 sorear diakopter: I'll check it out
03:07 sorear oh
03:07 takadonet1 just hit refresh and it works in time
03:07 sorear diakopter: 502 spam from dalek's request log
03:07 diakopter (but the push occurred sucessfuly)
03:07 diakopter 502 spam?
03:08 sorear HTTP 502 Bad Gateway errors while polling github
03:09 sorear it looks like dalek hasn't received any pushes since 13 minutes ago
03:09 sorear the last one was dukeleto on a #parrot-reported project
03:10 diakopter oh well; github outage-ish; I'm sure it'll resolve itself
03:10 sorear *cough* decentralized version control *cough*
03:10 diakopter HUB
03:10 dukeleto yeah, github timed out on an ssh push a few mins ago, but seems to be catching up
03:10 dalek specs: 0296008 | diakopter++ | S05-regex.pod:
03:10 dalek specs: --nits
03:10 dalek specs: review: https://github.com/perl6/specs/commit/0296008879
03:10 sorear if github ever stayed down for more than 6 hours I'd set up a git-daemon on appflux
03:11 sorear it's just... it never does that
03:11 diakopter oh, there it is
03:11 dalek nqp-rx: 43c77a0 | dukeleto++ | / (14 files):
03:11 dalek nqp-rx: Remove remnants of svn
03:11 dalek nqp-rx: review: https://github.com/perl6/nqp-rx/commit/43c77a02da
03:11 sorear or maybe feather
03:30 Chillance left #perl6
03:36 _twitch joined #perl6
03:38 lue left #perl6
03:41 Solarion left #perl6
03:41 Solarion joined #perl6
03:48 dalek niecza: 755eb94 | sorear++ | docs/announce.v3:
03:48 dalek niecza: Add draft of v3 announcement
03:48 dalek niecza: review: https://github.com/sorear/niecza/commit/755eb94321
03:55 qiyong joined #perl6
03:56 qiyong does perl6 have use?
03:56 takadonet1 yes
03:57 takadonet1 rakudo: use Test;
03:57 p6eval rakudo 10d86d:  ( no output )
03:57 takadonet1 std: use Test;
03:57 p6eval std 4608239: OUTPUT«Compiled lib/Test.pm6␤ok 00:01 119m␤»
03:59 colomon rakudo: my @a := 1..*; @a.unshift(101); say ~@a[^10]
03:59 p6eval rakudo 10d86d: OUTPUT«Method 'unshift' not found for invocant of class 'Range'␤  in main program body at line 22:/tmp/0G2hzMycM4␤»
03:59 colomon rakudo: my @a := 1...*; @a.unshift(101); say ~@a[^10]
03:59 p6eval rakudo 10d86d: OUTPUT«101 1 2 3 4 5 6 7 8 9␤»
03:59 colomon aha!
03:59 colomon crude but effective.
04:06 nadim left #perl6
04:07 nadim joined #perl6
04:11 takadonet1 night all
04:12 takadonet1 left #perl6
04:18 colomon phenny: tell masak Have sort of better Hamming.  Tried to use lazy lists, but it doesn't.  Wacky.  Not happy with it.  https://gist.github.com/840013
04:18 phenny colomon: I'll pass that on when masak is around.
04:20 diakopter rakudo: https://gist.github.com/840013
04:20 p6eval rakudo 10d86d: OUTPUT«(timeout) 1 2␤1␤@hamming: 2 3 5␤2␤@hamming: 3 4 5 6 10␤3␤@hamming: 4 5 6 9 10 15␤4␤@hamming: 5 6 8 9 10 12 15 20␤5␤@hamming: 6 8 9 10 12 15 20 25␤6␤@hamming: 8 9 10 12 15 18 20 25 30␤8␤@hamming: 9 10 12 15 16 18 20 24 25 30 40␤9␤@hamming: 10 12 15 16 18 20 24 25 27 30 40
04:20 p6eval ..45␤10␤@ham…
04:20 diakopter oh, heh
04:22 colomon It doesn't have an end yet.
04:22 colomon it does work, I think.
04:23 diakopter input 1691 ?
04:23 colomon rakudo: https://gist.github.com/840013
04:24 p6eval rakudo 10d86d:
04:24 p6eval ..OUTPUT«(timeout)␤6␤8␤9␤10␤12␤15␤16␤18␤20␤24␤2​5␤27␤30␤32␤36␤40␤45␤48␤50␤54␤60␤64␤72␤75␤80␤81␤​90␤96␤100␤108␤120␤125␤128␤135␤144␤150␤160␤162␤1​80␤192␤200␤216␤225␤240␤243␤250␤256␤270␤288␤300␤​320␤324␤360␤375␤384␤400␤405␤432␤450␤480␤486␤500​␤512␤540␤576␤600␤625␤640␤648␤675␤720␤729␤750��
04:25 colomon I did all this work to have the sorted-merge use lazy lists, then didn't ever call it with a lazy list.  :)
04:26 colomon It's not really the elegant solution I hoped for.
04:26 diakopter i'm curious whether you looked at the port I did
04:26 diakopter (from the Java example)
04:26 colomon I only looked at the rosetta code version.
04:26 Su-Shee left #perl6
04:27 diakopter the Java one you mean?
04:27 nymacro joined #perl6
04:27 colomon no, the perl 6 one.
04:27 diakopter oh..
04:27 colomon http://rosettacode.org/wiki/Hamming_numbers#Perl_6
04:28 diakopter yes, I ported one to perlesque
04:28 Su-Shee joined #perl6
04:28 colomon bed time.
04:28 diakopter perlesque: https://gist.github.com/839752
04:28 p6eval perlesque: OUTPUT«First 20 Hamming numbers: ␤1␤2␤3␤4␤5␤6␤8␤9␤10␤12␤15␤16␤1​8␤20␤24␤25␤27␤30␤32␤36␤1691st Hamming number: 2125764000␤One millionth Hamming number: 51931278044838873608958984375000000000000000000​0000000000000000000000000000000000000␤Elapsed: 00:00:10.3346182␤»
04:29 nadim left #perl6
04:29 nadim joined #perl6
04:31 dalek sprixel: 82a2db5 | diakopter++ | sprixel/src/ (4 files):
04:31 dalek sprixel: grammar, parsing progress
04:31 dalek sprixel: review: https://github.com/diakopte​r/sprixel/commit/82a2db5413
04:46 jtbraun1 joined #perl6
04:47 knewt2 left #perl6
04:47 knewt2 joined #perl6
04:49 jtbraun1 left #perl6
05:04 JimmyZ joined #perl6
05:07 satyavvd joined #perl6
05:10 Mowah joined #perl6
05:13 Mowah left #perl6
05:15 sorear rakudo: .say for grep * %% any (2,3,5), ^*; # the most elegant Hamming in Perl 6.  Doesn't work in Niecza yet.
05:15 p6eval rakudo 10d86d:  ( no output )
05:15 sorear I guess it doesn't work in Rakudo either
05:15 sorear oh
05:15 sorear rakudo: .say for grep * %% any(2,3,5), ^*; # the most elegant Hamming in Perl 6.  Doesn't work in Niecza yet.
05:16 p6eval rakudo 10d86d: OUTPUT«Can't take numeric value for object of type Whatever␤  in 'Any::Numeric' at line 1462:CORE.setting␤  in 'prefix:<^>' at line 7467:CORE.setting␤  in main program body at line 22:/tmp/zW1UmjCRcQ␤»
05:16 sorear rakudo: .say for grep { $_ %% any(2,3,5) }, ^*;
05:16 p6eval rakudo 10d86d: OUTPUT«Can't take numeric value for object of type Whatever␤  in 'Any::Numeric' at line 1462:CORE.setting␤  in 'prefix:<^>' at line 7467:CORE.setting␤  in main program body at line 22:/tmp/D4wBzjNTAF␤»
05:16 PZt left #perl6
05:16 sorear rakudo: .say for grep * %% any(2,3,5), ^Inf;
05:16 p6eval rakudo 10d86d:
05:16 p6eval ..OUTPUT«(timeout)␤6␤8␤9␤10␤12␤14␤15␤16␤18␤20​␤21␤22␤24␤25␤26␤27␤28␤30␤32␤33␤34␤35␤36␤38␤39​␤40␤42␤44␤45␤46␤48␤50␤51␤52␤54␤55␤56␤57␤58␤60​␤62␤63␤64␤65␤66␤68␤69␤70␤72␤74␤75␤76␤78␤80␤81​␤82␤84␤85␤86␤87␤88␤90␤92␤93␤94␤95␤96␤98␤99␤10​0␤102␤104␤105␤106␤108␤110␤111␤112␤114␤115�
05:17 sorear ... why isn't 1, 2, 3, 4, 5 in that
05:18 PZt joined #perl6
05:27 JimmyZ left #perl6
05:29 dalek roast: f8f23b9 | jimmy++ | S04-statements/try.t:
05:29 dalek roast: added test for RT #68728
05:29 dalek roast: review: https://github.com/perl6/roast/commit/f8f23b92fa
05:36 masonkramer left #perl6
05:36 masonkramer joined #perl6
05:37 JimmyZ joined #perl6
05:39 kanishka joined #perl6
05:40 kaare_ joined #perl6
05:51 dalek roast: 96654ce | jimmy++ | S0 (2 files):
05:51 dalek roast: s/tab/space/ for tests
05:51 dalek roast: review: https://github.com/perl6/roast/commit/96654ced11
05:52 jtbraun1 joined #perl6
06:14 sorear Where are the spectests for m//?
06:14 zostay left #perl6
06:15 dju__ joined #perl6
06:16 stifynsemons left #perl6
06:17 zostay joined #perl6
06:19 JimmyZ grep -r 'm/' S*
06:19 dju_ left #perl6
06:23 fhelmberger joined #perl6
06:33 dalek niecza: 2a38770 | sorear++ | / (3 files):
06:33 dalek niecza: Fudge m// to return Match object (moritz)
06:33 dalek niecza: review: https://github.com/sorear/niecza/commit/2a38770341
06:44 jtbraun2 joined #perl6
06:46 jtbraun1 left #perl6
06:49 jtbraun1 joined #perl6
06:51 jtbraun2 left #perl6
06:53 cjk101010 joined #perl6
06:57 justatheory left #perl6
06:57 jtbraun2 joined #perl6
06:57 justatheory joined #perl6
06:58 jtbraun2 left #perl6
06:59 jtbraun2 joined #perl6
07:00 jtbraun1 left #perl6
07:00 jtbraun2 left #perl6
07:02 justatheory left #perl6
07:03 wtw joined #perl6
07:05 Tedd1 joined #perl6
07:13 flatwhatson_ joined #perl6
07:20 TiMBuS joined #perl6
07:24 dalek niecza: 7016f56 | diakopter++ | docs/announce.v3:
07:24 dalek niecza: slight tweaks to docs/announce.v3
07:24 dalek niecza: review: https://github.com/sorear/niecza/commit/7016f56944
07:30 hatseflats left #perl6
07:30 donri joined #perl6
07:31 hatseflats joined #perl6
07:38 envi left #perl6
07:39 pjcj left #perl6
07:42 wtw left #perl6
07:42 Gothmog_ left #perl6
07:43 Gothmog_ joined #perl6
07:47 dju__ left #perl6
07:47 skangas left #perl6
07:47 dual left #perl6
07:47 stepnem left #perl6
07:47 clkao left #perl6
07:47 domidumont left #perl6
07:47 flatwhatson left #perl6
07:47 perigrin left #perl6
07:47 fith left #perl6
07:47 jasonmay left #perl6
07:47 starcoder2 left #perl6
07:47 mj41 left #perl6
07:47 Khisanth left #perl6
07:47 zb left #perl6
07:47 gabiruh left #perl6
07:47 BinGOs left #perl6
07:47 PerlJam left #perl6
07:47 Maddingue left #perl6
07:47 necrodearia left #perl6
07:47 uniejo left #perl6
07:47 ascent_ left #perl6
07:47 TimToady left #perl6
07:47 nsh- left #perl6
07:47 jpr5 left #perl6
07:47 krakan_ left #perl6
07:47 revdiablo left #perl6
07:48 fhelmberger left #perl6
07:52 moritz_ good morning
07:53 dju__ joined #perl6
07:53 skangas joined #perl6
07:53 dual joined #perl6
07:53 stepnem joined #perl6
07:53 clkao joined #perl6
07:53 domidumont joined #perl6
07:53 flatwhatson joined #perl6
07:53 perigrin joined #perl6
07:53 fith joined #perl6
07:53 jasonmay joined #perl6
07:53 starcoder2 joined #perl6
07:53 mj41 joined #perl6
07:53 Khisanth joined #perl6
07:53 zb joined #perl6
07:53 gabiruh joined #perl6
07:53 BinGOs joined #perl6
07:53 PerlJam joined #perl6
07:53 Maddingue joined #perl6
07:53 necrodearia joined #perl6
07:53 uniejo joined #perl6
07:53 ascent_ joined #perl6
07:53 TimToady joined #perl6
07:53 nsh- joined #perl6
07:53 jpr5 joined #perl6
07:53 krakan_ joined #perl6
07:53 revdiablo joined #perl6
07:53 wtw joined #perl6
07:53 donri left #perl6
07:53 donri joined #perl6
07:55 shi joined #perl6
07:58 cosimo left #perl6
08:00 wtw left #perl6
08:00 wtw joined #perl6
08:05 tadzik good morning
08:08 donri BEGIN { another-day }
08:11 tadzik yay, list of NLPW talks!
08:11 tadzik and they said it'll be all Dutch, hehe
08:15 moritz_ where's the list?
08:22 pjcj joined #perl6
08:23 tylercurtis left #perl6
08:24 cjk101010 left #perl6
08:24 PZt left #perl6
08:24 takesako left #perl6
08:24 PacoLinux left #perl6
08:24 Patterner left #perl6
08:24 tornadovj left #perl6
08:24 Kovensky left #perl6
08:24 gimix left #perl6
08:24 bacek left #perl6
08:24 dalek left #perl6
08:24 hugme left #perl6
08:24 jdhore left #perl6
08:24 larsen_ left #perl6
08:24 Tene left #perl6
08:24 frodwith left #perl6
08:24 avuserow left #perl6
08:24 Raynes left #perl6
08:24 cjk101013 left #perl6
08:24 [particle] left #perl6
08:24 sjohnson left #perl6
08:24 tadzik left #perl6
08:24 patch left #perl6
08:24 mdxi left #perl6
08:24 dju__ left #perl6
08:24 skangas left #perl6
08:24 dual left #perl6
08:24 stepnem left #perl6
08:24 clkao left #perl6
08:24 domidumont left #perl6
08:24 flatwhatson left #perl6
08:24 perigrin left #perl6
08:24 fith left #perl6
08:24 jasonmay left #perl6
08:24 starcoder2 left #perl6
08:24 mj41 left #perl6
08:24 Khisanth left #perl6
08:24 zb left #perl6
08:24 gabiruh left #perl6
08:24 BinGOs left #perl6
08:24 PerlJam left #perl6
08:24 Maddingue left #perl6
08:24 necrodearia left #perl6
08:24 uniejo left #perl6
08:24 ascent_ left #perl6
08:24 TimToady left #perl6
08:24 nsh- left #perl6
08:24 jpr5 left #perl6
08:24 krakan_ left #perl6
08:24 revdiablo left #perl6
08:28 donri So I have a binding to a lazy @primes, '.say for @primes' dies with "Cannot resume dead coroutine."
08:28 donri @primes[^100] works but does nothing until all are computed
08:29 donri bug, feature or wrong idiom?
08:30 cjk101010 joined #perl6
08:30 PZt joined #perl6
08:30 takesako joined #perl6
08:30 PacoLinux joined #perl6
08:30 Patterner joined #perl6
08:30 tornadovj joined #perl6
08:30 Kovensky joined #perl6
08:30 gimix joined #perl6
08:30 bacek joined #perl6
08:30 dalek joined #perl6
08:30 hugme joined #perl6
08:30 jdhore joined #perl6
08:30 larsen_ joined #perl6
08:30 Tene joined #perl6
08:30 frodwith joined #perl6
08:30 avuserow joined #perl6
08:30 Raynes joined #perl6
08:30 cjk101013 joined #perl6
08:30 [particle] joined #perl6
08:30 sjohnson joined #perl6
08:30 tadzik joined #perl6
08:30 patch joined #perl6
08:30 mdxi joined #perl6
08:32 dalek roast: 5e3e35d | moritz++ | S02-builtin_data_types/array (2 files):
08:32 dalek roast: move array shape tests to a separate file
08:32 dalek roast: review: https://github.com/perl6/roast/commit/5e3e35d4ef
08:34 dalek roast: ba7e504 | moritz++ | S04-statements/try.t:
08:34 dalek roast: [try.t] update test plan
08:34 dalek roast: review: https://github.com/perl6/roast/commit/ba7e504118
08:35 JimmyZ moritz_:  S32-str/split-simple2.t can be removed?
08:36 dju__ joined #perl6
08:36 skangas joined #perl6
08:36 dual joined #perl6
08:36 stepnem joined #perl6
08:36 clkao joined #perl6
08:36 domidumont joined #perl6
08:36 flatwhatson joined #perl6
08:36 perigrin joined #perl6
08:36 fith joined #perl6
08:36 jasonmay joined #perl6
08:36 starcoder2 joined #perl6
08:36 mj41 joined #perl6
08:36 Khisanth joined #perl6
08:36 zb joined #perl6
08:36 gabiruh joined #perl6
08:36 BinGOs joined #perl6
08:36 PerlJam joined #perl6
08:36 Maddingue joined #perl6
08:36 necrodearia joined #perl6
08:36 uniejo joined #perl6
08:36 ascent_ joined #perl6
08:36 TimToady joined #perl6
08:36 nsh- joined #perl6
08:36 jpr5 joined #perl6
08:36 krakan_ joined #perl6
08:36 revdiablo joined #perl6
08:36 moritz_ JimmyZ: why should it?
08:36 JimmyZ moritz_:  there was a comment in spectest.data.
08:36 JimmyZ S32-str/split-simple2.t   # CHEAT!  simplified version of split-simple.t
08:37 moritz_ well, if all the tests in split-simple2.t are also in split-simple.t, and all implementations (ie rakudo and niecza) run both files successfully, then yes
08:40 JimmyZ moritz_:  yes .
08:42 mtk left #perl6
08:42 dalek roast: 13da501 | jimmy++ | S32-str/split-simple2.t:
08:42 dalek roast: removed S32-str/split-simple2.t
08:42 dalek roast: review: https://github.com/perl6/roast/commit/13da5015e6
08:42 dalek roast: dd8b0e0 | jimmy++ | S0 (3 files):
08:42 dalek roast: Merge branch 'master' of github.com:perl6/roast
08:42 dalek roast: review: https://github.com/perl6/roast/commit/dd8b0e0da5
08:49 mtk joined #perl6
08:50 JimmyZ moritz_:  https://github.com/rakudo/rakudo/pull/12
08:53 dalek tpfwiki: (Hongwen Qiu)++ | http://www.perlfoundation.org/perl6/index​.cgi?how_to_start_a_perl_6_module_project
09:09 qiyong does perl6 use cpan too?
09:10 donri qiyong: http://modules.perl6.org/
09:10 kanishka left #perl6
09:15 dalek rakudo: 58e40e0 | zhuomingliang++ | t/spectest.data:
09:15 dalek rakudo: removed unneeded S32-str/split-simple2.t
09:15 dalek rakudo:
09:15 dalek rakudo: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
09:15 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/58e40e0561
09:28 dakkar joined #perl6
09:42 qiuhw left #perl6
09:45 daxim joined #perl6
09:49 Mowah joined #perl6
09:53 dalek roast: a3ccf3d | jimmy++ | S04-statements/loop.t:
09:53 dalek roast: added test for RT #71466
09:53 dalek roast: review: https://github.com/perl6/roast/commit/a3ccf3dd4a
09:55 tadzik moritz_: http://rt.perl.org/rt3/Publi​c/Bug/Display.html?id=68728 can you close this?
09:56 moritz_ *done*
09:57 moritz_ JimmyZ++
09:57 tadzik moritz_++
09:58 moritz_ rakudo: my $x = "test"; given $x { say $_; m/(e.)/; say $/
09:58 p6eval rakudo 10d86d: OUTPUT«===SORRY!===␤Unable to parse blockoid, couldn't find final '}' at line 22␤»
09:58 moritz_ rakudo: my $x = "test"; given $x { say $_; m/(e.)/; say $/  }
09:58 p6eval rakudo 10d86d: OUTPUT«test␤es␤»
09:59 dalek roast: 5ac6379 | moritz++ | S05-match/capturing-contexts.t:
09:59 dalek roast: correct and unfudge tests for RT #66252
09:59 dalek roast: review: https://github.com/perl6/roast/commit/5ac6379bc2
10:00 donri colomon: http://paste.pocoo.org/show/343204 actually faster than yours now
10:02 woosley left #perl6
10:05 moritz_ rakudo: say False.name
10:05 p6eval rakudo 10d86d: OUTPUT«Method 'name' not found for invocant of class 'Bool'␤  in main program body at line 22:/tmp/TWhiL7DijE␤»
10:06 moritz_ rakudo: for 1,2,3 -> $a, $b = $a { say $b }
10:06 p6eval rakudo 10d86d: OUTPUT«2␤3␤»
10:06 moritz_ rakudo: map -> $a, $b = $a { say $b }, 1, 2, 3
10:07 p6eval rakudo 10d86d:  ( no output )
10:07 moritz_ rakudo: sink map -> $a, $b = $a { say $b }, 1, 2, 3
10:07 p6eval rakudo 10d86d: OUTPUT«2␤3␤»
10:08 JimmyZ I think there are 3 tickets can be closed.
10:10 moritz_ which tickets?
10:10 moritz_ rakudo: say (1..10).sort(&rand)
10:10 p6eval rakudo 10d86d: OUTPUT«too many arguments passed - 0 params expected␤  in 'rand' at line 2197:CORE.setting␤  in <anon> at line 2870:CORE.setting␤  in 'List::sort' at line 2857:CORE.setting␤  in 'Any::sort' at line 1516:CORE.setting␤  in main program body at line 22:/tmp/RviGAaOt65␤»
10:11 moritz_ rakudo: say (1..10).sort(-> { rand })
10:11 p6eval rakudo 10d86d: OUTPUT«Too many positional parameters passed; got 2 but expected 0␤  in <anon> at line 2:/tmp/4X5volmbBZ␤  in <anon> at line 2870:CORE.setting␤  in 'List::sort' at line 2857:CORE.setting␤  in 'Any::sort' at line 1516:CORE.setting␤  in main program body at line 22:/tmp/4X5volmbBZ␤»
10:12 JimmyZ moritz_: RT #71466 and RT #77904 can be closed too.
10:12 moritz_ std: break
10:12 p6eval std 4608239: OUTPUT«[31m===[0mSORRY![31m===[0m␤Undeclared routine:␤ 'break' used at line 1␤Check failed␤FAILED 00:01 117m␤»
10:12 moritz_ std: succeed
10:12 p6eval std 4608239: OUTPUT«ok 00:01 117m␤»
10:13 moritz_ done.
10:14 moritz_ rakudo: sub { say "hello" }.()
10:14 p6eval rakudo 10d86d: OUTPUT«===SORRY!===␤Confused at line 22, near "sub { say "␤»
10:14 moritz_ rakudo: say (1..10).sort(&rand)
10:14 p6eval rakudo 10d86d: OUTPUT«too many arguments passed - 0 params expected␤  in 'rand' at line 2197:CORE.setting␤  in <anon> at line 2870:CORE.setting␤  in 'List::sort' at line 2857:CORE.setting␤  in 'Any::sort' at line 1516:CORE.setting␤  in main program body at line 22:/tmp/AC7esk_qLX␤»
10:14 moritz_ rakudo: my $a = 1; repeat while $a< 10 { $^a.defined.say; }
10:14 p6eval rakudo 10d86d: OUTPUT«Null PMC access in type()␤  in main program body at line 2:/tmp/TEqYiRR4Wf␤»
10:18 JimmyZ rakudo: my @a = 1..10; say ~(@a>>.trans((1..26) => (14..26,1..13)))
10:18 p6eval rakudo 10d86d: OUTPUT«(timeout)»
10:22 sbp is now known as phennytest
10:22 moritz_ phenny: tell patrickas about http://rt.perl.org/rt3/Tic​ket/Display.html?id=71366 -- want to hack on MAIN again? :-)
10:22 phenny moritz_: I'll pass that on when patrickas is around.
10:22 phennytest is now known as sbp
10:23 sbp is now known as phennytest
10:23 phennytest is now known as sbp
10:25 sbp is now known as phennytest
10:25 phennytest is now known as phennytext
10:25 phennytext is now known as sbp
10:28 moritz_ rakudo: say 1.+WHAT
10:28 p6eval rakudo 10d86d: OUTPUT«get_iter() not implemented in class 'Sub'␤  in main program body at line 22:/tmp/FLQf7UM_SH␤»
10:30 moritz_ rakudo: sub my() { }; my(my $b)
10:30 p6eval rakudo 10d86d: OUTPUT«Too many positional parameters passed; got 1 but expected 0␤  in 'my' at line 1:/tmp/whlyIjxKyO␤  in main program body at line 22:/tmp/whlyIjxKyO␤»
10:32 arnsholt Nice =)
10:33 moritz_ rakudo: my @arr; @arr[42] = 's'; say (+@arr).WHAT
10:33 p6eval rakudo 10d86d: OUTPUT«Int()␤»
10:34 zostay left #perl6
10:34 zostay joined #perl6
10:34 moritz_ rakudo: @_.=[3]
10:34 p6eval rakudo 10d86d: OUTPUT«===SORRY!===␤Can not use .= on a non-identifier method call at line 22, near ""␤»
10:35 moritz_ std: @_.=[3]
10:35 p6eval std 4608239: OUTPUT«[31m===[0mSORRY![31m===[0m␤Placeholder variable @_ may not be used outside of a block at /tmp/OzwupoQ_zo line 1:␤------> [32m@_[33m⏏[31m.=[3][0m␤Check failed␤FAILED 00:01 119m␤»
10:35 moritz_ std: sub f { @_.=[3] }
10:35 p6eval std 4608239: OUTPUT«ok 00:01 120m␤»
10:38 coldhead left #perl6
10:38 am0c left #perl6
10:48 mberends joined #perl6
10:50 dalek roast: ff620eb | jimmy++ | S05-transliteration/trans.t:
10:50 dalek roast: added test for RT #83674
10:50 dalek roast: review: https://github.com/perl6/roast/commit/ff620eb9c8
10:50 dalek roast: c907b99 | jimmy++ | S05-match/capturing-contexts.t:
10:50 dalek roast: Merge branch 'master' of github.com:perl6/roast
10:50 dalek roast: review: https://github.com/perl6/roast/commit/c907b994ec
10:50 Juerd agentzh: Your ~/public_html/a.html is a Twitter login page and we received phishing alerts so your account is now disabled
10:51 Juerd agentzh: Please let me know if you happen to know the cause; either way, please contact me and I can re-enable your account
10:51 agentzh Juerd: oh, that might be an accident.
10:52 agentzh Juerd: sorry about that.
10:52 Juerd Accident in which way? :)
10:52 agentzh Juerd: i might be using "curl twitter.com > a.html" under the ~/public_html/ directory.
10:52 Juerd I see
10:52 Juerd Don't do that :)
10:53 agentzh Juerd: i won't :)
10:53 Juerd I'll reenable everything if you're convinced your password and/or ssh key haven't leaked :)
10:54 JimmyZ rakudo: say 3 !+ 4
10:54 p6eval rakudo 58e40e: OUTPUT«===SORRY!===␤Can't negate + because it is not iffy enough at line 22, near " 4"␤»
10:54 agentzh Juerd: i think they haven't leaked :)
10:55 moritz_ std: for 0 { when ARRAY {} }
10:55 p6eval std 4608239: OUTPUT«[31m===[0mSORRY![31m===[0m␤Function 'ARRAY' needs parens to avoid gobbling block at /tmp/jgnK5axnNL line 1:␤------> [32mfor 0 { when ARRAY[33m⏏[31m {} }[0m␤Missing block (apparently gobbled by 'ARRAY') at /tmp/jgnK5axnNL line 1:␤------> [32mfor 0 { when ARRAY
10:55 p6eval ..{}[33m⏏[31m…
10:56 perplexa rakudo: exit
10:56 p6eval rakudo 58e40e:  ( no output )
10:56 perplexa :p
10:56 Juerd agentzh: Account's re-enabled. I've moved ~/public_html/a.html to ~/public_html_a.html
10:56 agentzh Juerd: thanks :)
11:01 moritz_ rakudo: say 'a' ~~ /:i 'A'/
11:01 p6eval rakudo 58e40e: OUTPUT«a␤»
11:02 envi joined #perl6
11:10 tzhs joined #perl6
11:10 dalek roast: 3e93462 | jimmy++ | S0 (2 files):
11:11 dalek roast: added tests for RT #73386
11:11 dalek roast: review: https://github.com/perl6/roast/commit/3e93462858
11:11 agentzh left #perl6
11:11 dalek roast: 9c2a090 | moritz++ | S05-modifier/ignorecase.t:
11:11 dalek roast: [ignorecase.t] :i should descend into quotes (RT #76750)
11:11 dalek roast: review: https://github.com/perl6/roast/commit/9c2a0901d7
11:20 perplexa left #perl6
11:29 qiyong left #perl6
11:41 JimmyZ left #perl6
11:41 ab5tract joined #perl6
11:46 JimmyZ joined #perl6
12:07 MayDaniel joined #perl6
12:13 satyavvd left #perl6
13:02 tzhs left #perl6
13:02 tzhs joined #perl6
13:02 ab5tract left #perl6
13:07 takadonet morning all
13:08 colomon \o
13:11 moritz_ o/
13:20 _twitch left #perl6
13:31 perplexa joined #perl6
13:33 karupanerura joined #perl6
13:34 _twitch joined #perl6
13:38 plainhao joined #perl6
13:39 bluescreen joined #perl6
13:42 kaare_ left #perl6
13:44 satyavvd joined #perl6
13:46 JimmyZ left #perl6
13:49 JimmyZ joined #perl6
13:50 risou joined #perl6
13:52 donri yay haskell solved it in eight seconds
13:54 takadonet bah
13:54 moritz_ plus the two hours you need to convince your compiler that your types are correct :-)
13:54 donri when even my optimized perl 6 hadn't found a solution in 67 minutes I sorta gave up :(
13:54 donri moritz_: hahaha yea. more like 30 minutes but yea.
14:09 mathw well you have to give it some leeway
14:09 mathw haskell compilers have actually had optmisation work done
14:09 cjk101010 left #perl6
14:10 benabik joined #perl6
14:12 cjk101010 joined #perl6
14:30 tzhs left #perl6
14:33 nymacro left #perl6
14:34 JimmyZ rakudo: my %h = { has-b => 42 }
14:34 p6eval rakudo 58e40e:  ( no output )
14:37 colomon rakudo: my %h = { has-b => 42 }; say :%h.perl
14:37 p6eval rakudo 58e40e: OUTPUT«"h" => {"has-b" => 42}␤»
14:38 moritz_ there was a ticket about that not working, for which I've added the 'testneeded' tag today :-)
14:40 colomon moritz_++
14:40 dalek roast: 2633e61 | jimmy++ | S02-builtin_data_types/hash.t:
14:40 dalek roast: aadded test for RT #75694
14:40 dalek roast: review: https://github.com/perl6/roast/commit/2633e6148b
14:40 dalek roast: 08187ac | jimmy++ | S05-modifier/ignorecase.t:
14:40 dalek roast: Merge branch 'master' of github.com:perl6/roast
14:40 dalek roast: review: https://github.com/perl6/roast/commit/08187ac03d
14:41 moritz_ JimmyZ: if you 'git pull --rebase' you can avoid those unneeded merge commits
14:41 JimmyZ moritz_: ok, thanks.
14:41 JimmyZ I hate it too.
14:43 benabik Rebasing is your friend.  I use it _constantly_.  Awesome for making your commits look perfect before anyone else see them.  :-D
14:43 moritz_ aka "good cheating"
14:43 kanishka joined #perl6
14:43 benabik You just have to remember not to rebase anything you've pushed out.  That's not so friendly.
14:43 * JimmyZ wonders why --rebase is not default.
14:43 bluescreen left #perl6
14:44 donri mathw: not giving up on perl 6, i know rakudo and parrot haven't had much optimizations done and this is an expensive problem
14:44 mathw :)
14:44 benabik JimmyZ: Because rebasing is very evil for already pushed branches.
14:45 benabik JimmyZ: Although you can make it default for you:  'git config --global branch.autosetuprebase true'
14:45 benabik JimmyZ: (Leaving off --global will make it default only for the current repo.)
14:45 mathw Because git supports many many workflows, and some of them break horribly if you rebase in the wrong places
14:46 JimmyZ can't automatic rebase when it's needed?
14:47 benabik Git defaults to the safe option.  Altering history is cheating and is not guaranteed to give you back exactly what you put in.
14:49 benabik Also, if anyone has made commits on top of the ones you're rebasing, they can have a real problem syncing back up.
14:49 JimmyZ rakudo: @_.=[3]
14:49 p6eval rakudo 58e40e: OUTPUT«===SORRY!===␤Can not use .= on a non-identifier method call at line 22, near ""␤»
14:49 dalek mu: a79e6eb | moritz++ | misc/dalek-conf.json:
14:49 dalek mu: [dalek] remove repo that is covered by post commit hooks
14:49 dalek mu: review: https://github.com/perl6/mu/commit/a79e6eb746
14:55 bluescreen joined #perl6
14:58 bluescreen left #perl6
15:03 karupanerura left #perl6
15:05 moritz_ \o/ new MoR chapter!
15:05 shi left #perl6
15:05 dalek roast: d8455c9 | jimmy++ | S02-builtin_data_types/array.t:
15:05 dalek roast: added test for RT #75342
15:05 dalek roast: review: https://github.com/perl6/roast/commit/d8455c956e
15:07 kaare_ joined #perl6
15:13 bluescreen joined #perl6
15:13 wtw left #perl6
15:17 ColloquyUser joined #perl6
15:27 jtbraun1 joined #perl6
15:27 MayDaniel left #perl6
15:29 dju__ left #perl6
15:29 dju joined #perl6
15:36 jtbraun1 left #perl6
15:38 satyavvd left #perl6
15:48 sorear good * #perl6
15:49 Rotwang joined #perl6
15:49 jtbraun1 joined #perl6
15:50 sorear donri: I can give you speed :>
15:51 donri Do it!
15:52 sorear well, you'll have to leave rakudo/parrot behind
15:54 tadzik and there's no coming back
15:54 moritz_ niecza is faster, it just has a horrible startup time
15:55 sorear and runs about 1/30 of the tests
15:55 risou left #perl6
15:55 tadzik how many does rakudo run?
15:55 sorear ~30,000
15:55 risou joined #perl6
15:55 sorear nobody knows how many tests there are, so I was comparing to rakudo
15:56 JimmyZ ~33600
15:56 moritz_ JimmyZ: how did you get that number?
15:56 dalek roast: 58c1a6a | moritz++ | S02-builtin_data_types/array.t:
15:56 dalek roast: [array.t] explicit test plan again
15:56 dalek roast: review: https://github.com/perl6/roast/commit/58c1a6a68c
15:57 sorear moritz_: mono --aot run/*.dll run/Niecza.exe helps a fair amount; I usually run that before spectests
15:57 JimmyZ do you mean the number of passing tests?
15:58 moritz_ Got a SIGABRT while executing native code. This usually indicates
15:58 moritz_ a fatal error in the mono runtime or one of the native libraries
15:58 moritz_ used by your application.
15:58 moritz_ sorear: that's what I get when I run the aot compilation :-/
15:58 pyrimidine joined #perl6
15:58 tadzik sorear: so niecza does run 30% of those 30_000?
15:58 sorear tadzik: no, it runs about 1_100
15:58 sorear 3%, 1/30
15:59 moritz_ I suspect that another 1k tests are only a few LHFs away from being run in niecza
16:00 moritz_ or probably many more
16:03 sorear moritz_: the aot compiler stuff does seem a bit flaky still ... this is why I'm switching back to safe code, so I know who to blame
16:04 risou_ joined #perl6
16:04 risou_ left #perl6
16:04 risou_ joined #perl6
16:04 risou left #perl6
16:04 benabik moritz_: LHF?
16:05 moritz_ benabik: low-hanging fruit
16:05 benabik Ah.
16:09 sorear niecza: "foo" ~~ /<sym>/;
16:09 p6eval niecza v2-102-g7016f56: OUTPUT«Unhandled exception: Illegal undef in cgop str␤  at /home/p6eval/niecza/boot/lib/SAFE.setting line 377 (SAFE die @ 2)␤  at /home/p6eval/niecza/src/CgOp.pm6 line 8 (CgOp CgOp._cgop @ 5)␤  at /home/p6eval/niecza/src/CgOp.pm6 line 215 (CgOp CgOp.str @ 2)␤  at
16:09 p6eval ../home/p6eval/niecza/src/C…
16:09 sorear not sure crashing is the best result there :)
16:10 moritz_ I'd expect "can't find method sym for invocant of type Cursor" or something
16:11 moritz_ rakudo: say 1.notdef
16:11 p6eval rakudo 58e40e: OUTPUT«Bool::False␤»
16:11 moritz_ hm, I can't find notdef in the spec anymore
16:11 moritz_ Date:   Fri Jul 30 19:46:36 2010 +0000
16:11 moritz_ [S02, S32] kill off .notdef
16:11 moritz_ by masak++
16:13 jtbraun1 left #perl6
16:13 JimmyZ there are many .notdef in spectests.
16:14 moritz_ then we should slowly kill it off
16:14 flussence what's the fix, s/notdef/defined.not/?
16:14 moritz_ !$thing.defined
16:14 flussence but that's harder to sed for :)
16:15 flussence there should probably be a test file to check that removed features are actually gone
16:16 flussence (it'd also be useful as a reference if someone's old code breaks as a result)
16:16 Patterner left #perl6
16:17 JimmyZ flussence: the spec is not freezed
16:17 donri sorear: would it run https://github.com/dag/eule​r/blob/master/Perl%206/3.pl ?
16:17 spq joined #perl6
16:18 Psyche^ joined #perl6
16:18 Psyche^ is now known as Patterner
16:19 donri niecza: https://gist.github.com/840636
16:19 p6eval niecza v2-102-g7016f56: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Unhandled trait copy at /tmp/26iDEzSiTE line 8:␤------> [32mmy @primes := 2, 3, -> $a is copy [33m⏏[31m{[0m␤␤Unhandled trait Any() at /tmp/26iDEzSiTE line 8:␤------> [32mmy @primes := 2, 3, -> $a is copy
16:19 p6eval ..[33m⏏[31m{[0m␤␤Undeclared routines:␤ '…
16:19 donri Guess not.
16:19 moritz_ you can rewrite it to not use 'is copy'
16:19 donri niecza: https://gist.github.com/840636
16:19 donri yea
16:19 p6eval niecza v2-102-g7016f56: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Undeclared routines:␤    'all' used at line Any()14␤     'sqrt' used at line Any()13,22␤␤Unhandled exception: Check failed␤␤  at /home/p6eval/niecza/boot/lib/SAFE.setting line 377 (SAFE die @ 2)␤  at /home/p6eval/niecza/src/STD.pm6 line
16:19 p6eval ..1152 (STD P6.comp_un…
16:20 moritz_ guess it doesn't do junctions yet
16:20 sorear I recently added .notdef to make spectests happier
16:20 sorear yeah no junctions.
16:20 dukeleto ~~
16:21 moritz_ sorear: so it goes... hope it wasn't too much effort :-)
16:21 sorear parse erorr
16:21 donri niecza: https://gist.github.com/840636
16:21 p6eval niecza v2-102-g7016f56: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤This macro cannot be used as a function at /tmp/NwBO1OWwJd line 14:␤------> [32m    } until [&&][33m⏏[31m @primes.map: {[0m␤␤Undeclared routine:␤    'sqrt' used at line Any()13,22␤␤Unhandled exception: Check failed␤␤  at
16:21 p6eval ../home/p6eval/niecza/boot/lib…
16:21 dalek roast: b6cb10e | moritz++ | S (7 files):
16:21 dalek roast: niecza unfudges
16:21 dalek roast: review: https://github.com/perl6/roast/commit/b6cb10e85d
16:22 donri niecza: https://gist.github.com/840636
16:22 p6eval niecza v2-102-g7016f56: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤This macro cannot be used as a function at /tmp/82W_JLJLxU line 14:␤------> [32m    } until [&&][33m⏏[31m @primes.map: {[0m␤␤Unhandled exception: Check failed␤␤  at /home/p6eval/niecza/boot/lib/SAFE.setting line 377 (SAFE die @ 2)␤
16:22 p6eval ..at /home/p6ev…
16:22 donri ok i give up
16:23 moritz_ flussence: fwiw most occurrences in the test suite are of the form  ok $thing.notdef, which can be easily changed to  nok $thing.defined
16:23 sorear donri: no sequence operator, no Array.max, no sqrt
16:23 sorear also [&&] doesn't actually make sense
16:23 donri no .sqrt either?
16:24 moritz_ sorear: it makes sense, it just doesn't short-circuit
16:24 JimmyZ left #perl6
16:25 sorear moritz_: are you saying [&&] should be silently dwimfudged to [?&] ?
16:25 daxim perl6:say82..1
16:25 moritz_ in the  case of success [&&] returns the last value, not True as [?&] does
16:26 moritz_ rakudo has a macro-ish and an a sub form of infix:<&&>
16:26 moritz_ the latter only for use with meta operators
16:28 daxim left #perl6
16:39 isBEKaml joined #perl6
16:40 fhelmberger joined #perl6
16:42 starcoder left #perl6
16:42 _dev0_ left #perl6
16:42 _dev0_ joined #perl6
16:43 awwaiid joined #perl6
16:43 meraxes left #perl6
16:44 nadim left #perl6
16:44 nadim_ joined #perl6
16:44 starcoder joined #perl6
16:44 sftp left #perl6
16:45 sftp joined #perl6
16:46 kanishka left #perl6
16:47 knewt2 left #perl6
16:47 knewt2 joined #perl6
16:47 kolibrie left #perl6
16:47 kolibrie joined #perl6
16:47 y3llow_ joined #perl6
16:47 p6eval left #perl6
16:48 p6eval joined #perl6
16:49 y3llow left #perl6
16:49 y3llow_ is now known as y3llow
16:51 meraxes joined #perl6
16:51 icwiener joined #perl6
16:52 dalek roast: 08f1960 | moritz++ | S (7 files):
16:52 dalek roast: start to remove .notdef
16:52 dalek roast: review: https://github.com/perl6/roast/commit/08f1960319
16:52 sorear moritz++
16:53 moritz_ $ moritz@jacq:~/p6/rakudo/t/spec>ack -w notdef|wc -l
16:53 moritz_ 53
16:53 moritz_ still way to go
16:53 moritz_ but first I need to drive home
16:53 moritz_ bbl&
16:55 cjk101010 left #perl6
16:56 MayDaniel joined #perl6
17:04 risou joined #perl6
17:06 jtbraun1 joined #perl6
17:07 risou_ left #perl6
17:09 dalek niecza: 39b83a2 | sorear++ | src/niecza:
17:09 dalek niecza: Accept and ignore is unary etc on regexes
17:09 dalek niecza: review: https://github.com/sorear/niecza/commit/39b83a2326
17:09 dalek niecza: 891071d | sorear++ | src/ (2 files):
17:09 dalek niecza: Implement a variant of viv's 'endsym' function
17:09 dalek niecza: review: https://github.com/sorear/niecza/commit/891071d5b1
17:12 MayDaniel left #perl6
17:17 pigdude joined #perl6
17:19 justatheory joined #perl6
17:21 proller_ joined #perl6
17:27 impious joined #perl6
17:27 impious left #perl6
17:34 jaldhar left #perl6
17:34 jaldhar joined #perl6
17:36 moritz_ http://news.perlfoundation.org/2011/0​2/hague-grant-application-struct.html please leave your comment on that page
17:36 masonkramer left #perl6
17:37 cdarroch joined #perl6
17:37 cdarroch left #perl6
17:37 cdarroch joined #perl6
17:50 bluescreen left #perl6
17:53 jdhore moritz_, i'm working on fixing some of the notdef's in roast
17:58 jtbraun1 left #perl6
18:06 jdhore moritz_, http://pastebin.com/ANQvjnxC
18:06 ab5tract joined #perl6
18:07 jdhore Well...Or someone who has commit access to roast ^^
18:11 ColloquyUser left #perl6
18:14 risou left #perl6
18:36 krunen left #perl6
18:38 dakkar left #perl6
18:55 colomon jdhore: noted, I'll try to give them a run later this afternoon.  (want to make sure I've got an up-to-date working build and spectest first, which will take a bit!)
18:58 benabik left #perl6
19:02 benabik joined #perl6
19:06 shi joined #perl6
19:06 charsbr__ left #perl6
19:09 MayDaniel joined #perl6
19:16 isBEKaml left #perl6
19:21 cjk101010 joined #perl6
19:23 benabik left #perl6
19:25 pigdude left #perl6
19:30 pigdude joined #perl6
19:32 charsbar joined #perl6
19:32 charsbar left #perl6
19:33 mberends_ joined #perl6
19:33 charsbar joined #perl6
19:40 Tedd1 left #perl6
19:47 envi left #perl6
19:52 MayDaniel left #perl6
19:54 MayDaniel joined #perl6
19:56 cjk101010 left #perl6
20:04 Axius joined #perl6
20:06 diakopter phenny: tell TimToady nm about the mark/accent; we fixed it
20:06 phenny diakopter: I'll pass that on when TimToady is around.
20:10 ColloquyUser joined #perl6
20:23 ColloquyUser left #perl6
20:24 ColloquyUser joined #perl6
20:29 moritz_ jdhore: what's your github ID?
20:30 jdhore moritz_, jdhore
20:30 molaf_ left #perl6
20:30 moritz_ hugme: add jdhore to perl6
20:30 * hugme hugs jdhore. Welcome to the perl6 github organization
20:31 jdhore :D
20:31 moritz_ jdhore: you now have commit access yourself :-)
20:31 jdhore :)
20:31 moritz_ colomon++ could have done that too
20:31 jdhore how do you change what URL a git repo is using locally?
20:32 jdhore ah, .git/config
20:33 moritz_ right, the new URL should be git@github.com:perl6/roast.git
20:33 jdhore Yep
20:33 dalek roast: 2544bcf | (JD Horelick)++ | S (24 files):
20:33 dalek roast: Remove most remaining .notdef's.
20:33 dalek roast: review: https://github.com/perl6/roast/commit/2544bcfad0
20:33 jdhore :D
20:33 JodaZ joined #perl6
20:34 jdhore hmm, i prolly should change my git username
20:35 dalek roast: 07b93fe | moritz++ | S02-builtin_data_types/array.t:
20:35 dalek roast: [array.t] fix plan, moritz--
20:35 dalek roast: review: https://github.com/perl6/roast/commit/07b93fe339
20:36 MayDaniel_ joined #perl6
20:36 dju left #perl6
20:37 moritz_ \o/ commits from two new committers in a few days
20:39 MayDaniel left #perl6
20:42 ColloquyUser left #perl6
20:43 MayDaniel_ left #perl6
20:43 jdhore :)
20:44 jdhore Vim makes life so painless :)
20:46 alester joined #perl6
20:49 masak joined #perl6
20:49 masak hi zebras
20:49 phenny masak: 22 Feb 23:29Z <diakopter> ask masak take a look at the clog from here - hamming perlesque
20:49 phenny masak: 22 Feb 23:30Z <diakopter> tell masak (blatantly ported from the Java solution)
20:49 phenny masak: 04:18Z <colomon> tell masak Have sort of better Hamming.  Tried to use lazy lists, but it doesn't.  Wacky.  Not happy with it.  https://gist.github.com/840013
20:49 masak diakopter++
20:50 masak nice! people took up the mini-challenge :)
20:50 masak colomon++
20:53 tadzik question: Rakudo is written in Perl 6. What happens when we lose the first compiler? :)
20:54 masak we'll just use the second?
20:54 tadzik I mean, when we run out of the working compilers, what will we do?
20:54 jferrero joined #perl6
20:55 masak the question seems to ignore that the compilers usually build themselves via bootstrapping from smaller languages such as nqp.
20:55 Tene Anyone know if there's a specific reason that the spec doesn't define some of the more-obvious unicode math ops, like ≠ ?
20:55 Tene I mean, it's obviously not completely adverse to unicode, what with «» etc.
20:55 masak Tene: the spec doesn't define any ops outside of latin-1.
20:56 tadzik masak: so when Rakudo builds, it first builds some part of itself using nqp, and then builds the Rakudo-Rakudo?
20:56 mtk left #perl6
20:56 masak yes.
20:57 masak similarly, nqp-rx bootstraps itself from PGE, which is written in PIR.
20:58 masak so it's something like Parrot -> PIR/IMCC -> PGE -> nqp/rx -> Rakudo -> Rakudo's setting.
20:59 masak hm, the first 'Rakudo' could say 'Rakudo grammar/actions'
20:59 [Coke] masak: It's all so simple!
20:59 masak [Coke]: :)
21:00 Axius left #perl6
21:02 masak diakopter: huh. I didn't look at the Java solution before posting my challenge, but it's nice to see it (and your solution) corresponds to my idea.
21:02 masak nice premature optimization on the bitshift :P
21:04 Tene masak: these days, nqp bootstraps itself with nqp
21:04 mtk joined #perl6
21:04 Tene masak: there's a compiled-to-pir version of nqp that's built and shipped with parrot, the stage0 compiler
21:07 masak right. that's the one I was thinking of.
21:08 masak I'm actually not entirely sure what the role of the stage0 compiler is. I just assumed it was used to build nqp-rx the first time around.
21:09 masak I meant to start writing the p5 post tonight, but I'm too exhausted after $dayjob. hopefully tomorrow night.
21:10 masak colomon: your solution uses lazy lists, whereas the mini-challenge was to write a version without them. did I miss something? :)
21:12 colomon moritz_: (re roast commit bit for jdhore) I always forget I can do that!
21:12 colomon masak: A) was ignoring your challenge
21:12 colomon masak: B) actually, my core code does NOT use lazy lists.
21:12 jdhore :D
21:13 colomon The sorted-merge function takes care to allow lazy lists, but the hamming function never uses them.
21:13 masak colomon: oh, I saw gather/take and assumed it did. sorry 'bout that :)
21:13 dju joined #perl6
21:13 dju left #perl6
21:13 dju joined #perl6
21:13 colomon masak: no worries.  :)
21:13 * masak goes to sleep
21:13 masak 'night, #perl6
21:14 dju left #perl6
21:14 masak left #perl6
21:14 coldhead joined #perl6
21:15 Tene rakudo: say any(1 ... Inf) > 10;
21:16 colomon I'm profoundly unsatisfied with the code I wrote for that, actually.
21:16 colomon 'night!
21:16 Tene Shame we don't have lazy junctions.  That should be easy to implement.
21:17 p6eval rakudo 58e40e: OUTPUT«(timeout)»
21:17 colomon Tene++: well volunteered.
21:17 colomon ;)
21:18 Tene colomon: Not today, unfortunately.
21:18 aesop left #perl6
21:18 colomon Tene: tomorrow would be plenty fast enough, I'm sure.  ;)
21:20 Tene colomon: First I'd have to read the spec pretty thoroughly to make sure it's permitted.
21:20 mberends_ left #perl6
21:20 Tene Our current impl explicitly calls .eager.
21:21 Tene I don't know if there's a good reason to do that or not.
21:21 Tene rakudo: say any(1 ... 30) > 10;
21:21 p6eval rakudo 58e40e: OUTPUT«any(Bool::False, Bool::True)␤»
21:21 colomon I wouldn't be surprised if it's not permitted, actually.
21:22 Tene Why?
21:22 moritz_ well, it can short-circuit as soon as the answer is determined
21:22 moritz_ ie at least one True for an any() junction, at least one false for a none() junction etc.
21:22 Tene Exactly why I expected it to work lazily, moritz
21:23 rdesfo joined #perl6
21:24 aesop joined #perl6
21:25 Tene colomon: additionally, it would be impolite for me to pick LHF like that, when it could be left for a new contributor to do.
21:25 molaf joined #perl6
21:29 colomon Tene: I'm sure you'd be forgiven.
21:30 moritz_ now Tene is trying wriggle his way out... :-)
21:39 aloha left #perl6
21:39 Trashlord left #perl6
21:39 amkrankruleuen left #perl6
21:42 MayDaniel joined #perl6
21:43 rhr joined #perl6
21:44 maja left #perl6
21:45 sftp left #perl6
21:45 pothos left #perl6
21:48 plainhao left #perl6
21:48 skangas left #perl6
21:48 dual left #perl6
21:48 stepnem left #perl6
21:48 clkao left #perl6
21:48 domidumont left #perl6
21:48 flatwhatson left #perl6
21:48 perigrin left #perl6
21:48 fith left #perl6
21:48 jasonmay left #perl6
21:48 starcoder2 left #perl6
21:48 mj41 left #perl6
21:48 Khisanth left #perl6
21:48 zb left #perl6
21:48 gabiruh left #perl6
21:48 BinGOs left #perl6
21:48 PerlJam left #perl6
21:48 Maddingue left #perl6
21:48 necrodearia left #perl6
21:48 uniejo left #perl6
21:48 ascent_ left #perl6
21:48 TimToady left #perl6
21:48 nsh- left #perl6
21:48 jpr5 left #perl6
21:48 krakan_ left #perl6
21:48 revdiablo left #perl6
21:48 PZt left #perl6
21:48 takesako left #perl6
21:48 PacoLinux left #perl6
21:48 tornadovj left #perl6
21:48 Kovensky left #perl6
21:48 gimix left #perl6
21:48 bacek left #perl6
21:48 dalek left #perl6
21:48 hugme left #perl6
21:48 jdhore left #perl6
21:48 larsen_ left #perl6
21:48 Tene left #perl6
21:48 frodwith left #perl6
21:48 avuserow left #perl6
21:48 Raynes left #perl6
21:48 cjk101013 left #perl6
21:48 [particle] left #perl6
21:48 sjohnson left #perl6
21:48 tadzik left #perl6
21:48 patch left #perl6
21:48 mdxi left #perl6
21:48 coldhead left #perl6
21:48 kolibrie left #perl6
21:48 _twitch left #perl6
21:48 pjcj left #perl6
21:48 mkramer1 left #perl6
21:48 Solarion left #perl6
21:48 VXZ left #perl6
21:48 jjore left #perl6
21:48 jferrero left #perl6
21:48 Rotwang left #perl6
21:48 kaare_ left #perl6
21:48 HarryS left #perl6
21:48 lamstyle left #perl6
21:48 plobsing_ left #perl6
21:48 jevin left #perl6
21:48 TiMBuS left #perl6
21:48 zykes- left #perl6
21:48 szabgab left #perl6
21:48 betterworld left #perl6
21:48 cookys_ left #perl6
21:48 pochi left #perl6
21:48 pmichaud left #perl6
21:48 dukeleto left #perl6
21:48 szbalint left #perl6
21:48 Grimnir_ left #perl6
21:48 Juerd left #perl6
21:48 Util left #perl6
21:48 bbkr left #perl6
21:48 rblackwe left #perl6
21:48 breinbaas left #perl6
21:48 mberends left #perl6
21:48 dwhipp left #perl6
21:48 mtk left #perl6
21:48 alester left #perl6
21:48 JodaZ left #perl6
21:48 jaldhar left #perl6
21:48 icwiener left #perl6
21:48 p6eval left #perl6
21:48 _dev0_ left #perl6
21:48 spq left #perl6
21:48 dsp_ left #perl6
21:48 noganex left #perl6
21:48 ponbiki left #perl6
21:48 takadonet left #perl6
21:48 thepler left #perl6
21:48 c1sung left #perl6
21:48 shortcircuit left #perl6
21:48 cotto_work left #perl6
21:48 lopaway left #perl6
21:48 colomon left #perl6
21:48 shabble left #perl6
21:48 Eevee left #perl6
21:48 shachaf left #perl6
21:48 vert2 left #perl6
21:48 edenc left #perl6
21:48 hillu_ left #perl6
21:48 aindilis left #perl6
21:48 ilogger2 left #perl6
21:48 sjn left #perl6
21:48 IRSeekBot left #perl6
21:48 ingy left #perl6
21:48 Woody4286 left #perl6
21:48 pumphaus left #perl6
21:48 justatheory left #perl6
21:48 y3llow left #perl6
21:48 nadim_ left #perl6
21:48 Patterner left #perl6
21:48 mathw left #perl6
21:48 frettled left #perl6
21:48 tty234 left #perl6
21:48 xinming left #perl6
21:48 eternaleye left #perl6
21:48 sbp left #perl6
21:48 ribasushi left #perl6
21:48 cdarroch left #perl6
21:48 proller_ left #perl6
21:48 zostay left #perl6
21:48 flatwhatson_ left #perl6
21:48 gfldex left #perl6
21:48 cls_bsd left #perl6
21:48 jrockway left #perl6
21:48 araujo left #perl6
21:48 cotto left #perl6
21:48 bartolin left #perl6
21:48 DarthGandalf left #perl6
21:48 16WAAGL8K left #perl6
21:48 pyrimidine left #perl6
21:48 Mowah left #perl6
21:48 flussence left #perl6
21:48 [Coke] left #perl6
21:48 hudnix left #perl6
21:48 wooden left #perl6
21:48 jedai_ left #perl6
21:48 ddima left #perl6
21:48 huf left #perl6
21:48 LoRe left #perl6
21:48 llabthgie left #perl6
21:48 Grrrr left #perl6
21:48 Bucciarati left #perl6
21:48 frooh left #perl6
21:48 charsbar left #perl6
21:48 pigdude left #perl6
21:48 awwaiid left #perl6
21:48 fhelmberger left #perl6
21:48 wolverian left #perl6
21:48 Lorn left #perl6
21:48 mux left #perl6
21:48 _sri left #perl6
21:48 literal left #perl6
21:48 baest left #perl6
21:48 nsh_ left #perl6
21:48 kcwu left #perl6
21:48 sunnavy left #perl6
21:48 arnsholt left #perl6
21:48 sorear left #perl6
21:48 shi left #perl6
21:48 meraxes left #perl6
21:48 perplexa left #perl6
21:48 Gothmog_ left #perl6
21:48 cognominal left #perl6
21:48 kfo left #perl6
21:48 phenny left #perl6
21:48 pnu left #perl6
21:48 f00li5h left #perl6
21:48 tomaw left #perl6
21:48 Alias left #perl6
21:48 jnthn left #perl6
21:48 felipe left #perl6
21:48 slavik1 left #perl6
21:48 ashleydev left #perl6
21:48 meteorjay left #perl6
21:48 snarkyboojum left #perl6
21:48 MayDaniel left #perl6
21:48 rdesfo left #perl6
21:48 silug left #perl6
21:48 Helios- left #perl6
21:48 moritz_ left #perl6
21:48 cxreg left #perl6
21:48 rokoteko left #perl6
21:48 lestrrat left #perl6
21:48 broquaint left #perl6
21:48 woldrich left #perl6
21:48 hcchien left #perl6
21:49 Trashlord joined #perl6
21:49 aloha joined #perl6
21:49 pothos_ joined #perl6
21:49 rdesfo joined #perl6
21:49 silug joined #perl6
21:49 Helios- joined #perl6
21:49 woldrich joined #perl6
21:49 cxreg joined #perl6
21:49 moritz_ joined #perl6
21:49 lestrrat joined #perl6
21:49 rokoteko joined #perl6
21:49 broquaint joined #perl6
21:49 hcchien joined #perl6
21:49 cibs left #perl6
21:51 Su-Shee left #perl6
21:51 Su-Shee joined #perl6
21:53 Trashlord is now known as Guest36953
21:54 starcoder left #perl6
22:00 rdesfo left #perl6
22:00 starcoder joined #perl6
22:12 donaldh joined #perl6
22:13 ashleydev joined #perl6
22:17 rhr left #perl6
22:17 f00li5h joined #perl6
22:37 _ilbot joined #perl6
22:37 Topic for #perl6 is now »ö« Welcome to Perl 6! | http://perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: http://irc.perl6.org/ | UTF-8 is our friend!
22:37 aesop_ left #perl6
22:37 aesop_ joined #perl6
22:37 MOAR-f00li5h left #perl6
22:37 MOAR-f00li5h joined #perl6
22:38 s1n joined #perl6
22:38 pigdude left #perl6
22:39 donri left #perl6
22:39 donri__ joined #perl6
22:39 saaki left #perl6
22:39 plainhao left #perl6
22:39 bhwu left #perl6
22:40 skangas_ joined #perl6
22:41 Gothmog_ joined #perl6
22:41 perplexa joined #perl6
22:43 drbean_ left #perl6
22:43 skangas left #perl6
22:43 skangas_ is now known as skangas
22:44 drbean joined #perl6
22:45 coldhead left #perl6
22:45 Mowah left #perl6
22:45 Mowah joined #perl6
22:47 perplexa is now known as Guest9160
22:47 donri__ left #perl6
22:48 donri joined #perl6
22:48 _twitch joined #perl6
22:49 aesop joined #perl6
22:49 aesop_ left #perl6
22:50 donri rakudo: say [&&] ^Inf ... * > 10
22:50 p6eval rakudo 58e40e: OUTPUT«0␤»
22:51 donri no wait how did tene write that test
22:51 coldhead joined #perl6
22:54 aesop left #perl6
22:54 aesop joined #perl6
22:54 donri rakudo: say [&&] ^Inf
22:54 p6eval rakudo 58e40e: OUTPUT«(timeout)»
22:56 cosimo joined #perl6
22:56 donri anyways tene figured out why my code was so slow: junctions not short-circuiting
22:56 Tene donri: what test?
22:56 donri Tene: you tested junctions here earlier
22:57 Tene 14:15 < Tene> rakudo: say any(1 ... Inf) > 10;
22:57 donri ah
22:57 donri rakudo: say [&&] True, False
22:57 p6eval rakudo 58e40e: OUTPUT«Bool::False␤»
22:58 donri rakudo: say [&&] (^Inf).map: ?*
22:58 p6eval rakudo 58e40e: OUTPUT«(timeout)»
22:58 bluescreen joined #perl6
22:59 donri not sure what i'm getting at anyway xD
22:59 * donri tired
22:59 donri but [&&] is similar to all() and i'm wondering if it short-circuits
23:00 MayDaniel joined #perl6
23:00 donaldh Does anyone know about argument captures?
23:00 donri rakudo: say \(1, 2, :foo).perl
23:00 p6eval rakudo 58e40e: OUTPUT«\(1, 2, "foo" => Bool::True)␤»
23:01 donaldh I'm trying to assign to a positional in a capture, but it's readonly
23:01 PerlJam donaldh: An introductory question usually goes no where.  Just ask the question you really want to ask.
23:02 PerlJam donaldh: show code.
23:03 donaldh rakudo: my $var; my $capture = \($var); for $capture.list.values -> \$x { $x = 'Hello' };
23:03 p6eval rakudo 58e40e: OUTPUT«Cannot modify readonly value␤  in '&infix:<=>' at line 1␤  in <anon> at line 22:/tmp/sU4kw4tJ17␤  in main program body at line 1␤»
23:04 donri rakudo: my $var; my $capture = \($var is rw); for $capture.list.values -> \$x { $x = 'Hello' };
23:04 p6eval rakudo 58e40e: OUTPUT«===SORRY!===␤You can't backslash that at line 22, near "($var is r"␤»
23:04 donaldh donri: yup, I've tried that.
23:04 donri rakudo: my $var; my $capture = \($var); for $capture.list.values -> \$x is rw { $x = 'Hello' };
23:04 p6eval rakudo 58e40e: OUTPUT«Cannot modify readonly value␤  in '&infix:<=>' at line 1␤  in <anon> at line 22:/tmp/JIBab7ZY3n␤  in main program body at line 1␤»
23:05 ab5tract left #perl6
23:05 donaldh I've simplified the example. It was based on: sub sqlite3_open( Str $filename, OpaquePointer $ppDB is rw )
23:07 donaldh I'm trying to extend Zavolaj to initialize out parameters, i.e. those marked is rw.
23:08 tomaw joined #perl6
23:09 felipe joined #perl6
23:09 Guest36953 left #perl6
23:09 donri donaldh: can't you set a default or make optional?
23:10 Trashlord joined #perl6
23:11 kst` is now known as kst
23:11 donri but i'd think you'd usually write a wrapper api on top of the nativecalls
23:12 donaldh Currently I have to do this: my $db = pir::new__Ps('UnManagedStruct'); my $status = sqlite3_open( "test.db", $db );
23:13 donaldh I want to avoid having to initialize $db by embedding that behaviour in Zavolaj.
23:13 donaldh donri: https://github.com/jnthn/zavolaj/
23:16 donri oh zavolaj *is* nativecall?
23:16 donri i thought it was sqlite3 via nativecall
23:16 donaldh Yes.
23:16 stifynsemons joined #perl6
23:16 donri http://perl6advent.wordpress.com/2010/12/15/​day-15-calling-native-libraries-from-perl-6/
23:16 donri suggests wrapper api
23:20 donaldh perhaps that's the only viable approach.
23:21 donri i think the whole point of the "is native" subs is to represent the functions in natural perl
23:21 donri it needs that information to even work, at least without .h files
23:23 jaldhar left #perl6
23:23 donaldh Yes, that's right. "is native" is a multi trait that is implemented to do some high magic.
23:23 jaldhar joined #perl6
23:24 donaldh I have extended it to understand "is rw" parameters and generate the necessary NCI call signatures.
23:26 donaldh I would like it to 'autovivify' the "is rw" out parameters, but all I have to work with is an immutable capture.
23:30 Mowah left #perl6
23:31 Rotwang left #perl6
23:31 MayDaniel left #perl6
23:32 cibs joined #perl6
23:36 alester left #perl6
23:42 cibs left #perl6
23:44 maja_ left #perl6
23:48 spq left #perl6
23:51 maja joined #perl6
23:53 stifynsemons left #perl6
23:54 maja left #perl6
23:54 jtbraun1 left #perl6
23:55 donri left #perl6
23:56 maja joined #perl6
23:59 envi joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo