»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:06 Khisanth left 00:19 Khisanth joined 00:20 p6bannerbot sets mode: +v Khisanth 00:24 lizmat joined 00:25 p6bannerbot sets mode: +v lizmat 00:45 john_parr left 00:47 john_parr joined, ckraniak joined, p6bannerbot sets mode: +v ckraniak 00:48 p6bannerbot sets mode: +v john_parr 01:00 ccc joined 01:01 p6bannerbot sets mode: +v ccc 01:02 mingdao left
ccc Is there a way to get a square array dynamicly (ie without my @arr[n,n]) 01:02
buggable New CPAN upload: DB-Pg-0.4.tar.gz by CTILMES modules.perl6.org/dist/DB::Pg:cpan:CTILMES 01:03
01:04 graphene left 01:06 graphene joined
ccc Say I have an array of arrays, all of the same type & size. Is there some way to turn it into something that will respond properly to .shape? 01:06
01:06 p6bannerbot sets mode: +v graphene 01:07 mingdao joined, p6bannerbot sets mode: +v mingdao
MasterDuke ccc: not 100% sure, but i don't think so 01:09
ccc hmmm
makes shaped arrays not very good to work with 01:10
It seems making a pure perl matrix module is right out 01:11
MasterDuke there is some matrix module already
buggable: eco matrix
buggable MasterDuke, Found 3 results: Math::Matrix, Matrix::Client, RPi::Device::ST7036. See modules.perl6.org/s/matrix
ccc well then there IS a way. Are these just wrapped P5 modules? 01:12
01:14 leont left 01:15 graphene left 01:16 graphene joined 01:17 p6bannerbot sets mode: +v graphene 01:18 ckraniak left 01:30 molaf left 01:37 ydlr joined, p6bannerbot sets mode: +v ydlr 01:43 molaf joined, p6bannerbot sets mode: +v molaf 01:49 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 01:51 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 01:55 cognominal-p6 left 01:56 cognominal-p6 joined, vike left, p6bannerbot sets mode: +v cognominal-p6 02:11 vike joined 02:12 epony joined, p6bannerbot sets mode: +v epony, p6bannerbot sets mode: +v vike 02:14 cognominal-p6 left 02:17 kent\n joined, p6bannerbot sets mode: +v kent\n 02:48 quester joined, p6bannerbot sets mode: +v quester 02:56 ydlr left 03:10 ccc left 03:28 regreg joined 03:29 p6bannerbot sets mode: +v regreg
samcv .tell Zoffix it's guarenteed to be the same as long as you don't *add* anything. 03:33
yoleaux samcv: I'll pass your message to Zoffix.
8 Sep 2018 23:48Z <Zoffix> samcv: I think I asked you this before but totally forgot what the answer was. Is it guaranteed that an unmodified hash would maintain order when iterated over? There's a 6.d spec that declares a bunch of methods (.pairs, .keys, etc.) called on a hash must produce the values in the same order: github.com/perl6/roast/blob/fc96f8....t#L18-L33 Would you
8 Sep 2018 23:48Z <Zoffix> samcv: check if that new spec make sense?
samcv also if you delete something it should be the same, except with the element missing 03:34
03:54 psychoslave joined 03:55 p6bannerbot sets mode: +v psychoslave 03:57 eliasr left 04:08 aborazmeh left 04:36 sena_kun joined, p6bannerbot sets mode: +v sena_kun 04:55 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix I don't get this. Here, it looks like `~` is performed first, and `?` is performed second: 04:55
m: say ?~0
camelia True
Zoffix But here, looks like `+` is performed... actually
m: say +^Inf
camelia Cannot convert Inf to Int:
in block <unit> at <tmp> line 1
Zoffix nm 04:56
m: say &prefix:<+^>
camelia &prefix:<+^>
Zoffix Forgot that's an op 04:57
04:57 Zoffix left 05:10 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 05:11 cognominal-p6 left 05:12 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 05:28 quester left 05:33 cognominal-p6 left 05:41 psychoslave left 05:57 cpup joined 05:58 chenyf left, p6bannerbot sets mode: +v cpup 06:28 chenyf joined 06:29 p6bannerbot sets mode: +v chenyf
timotimo m: my $a = Array.new([1,2;3,4;5,6], :shape(3,2)); say $a.perl 06:33
camelia Array.new(:shape(3, 2), [1, 2], [3, 4], [5, 6]).item
06:46 MasterDuke left 07:31 psychoslave joined 07:32 p6bannerbot sets mode: +v psychoslave 07:40 discoD left 07:42 domidumont joined 07:43 p6bannerbot sets mode: +v domidumont 07:49 domidumont left 07:58 araraloren joined 07:59 p6bannerbot sets mode: +v araraloren 08:00 marmor joined 08:01 p6bannerbot sets mode: +v marmor 08:03 araraloren left, araraloren_ joined, p6bannerbot sets mode: +v araraloren_ 08:16 araraloren_ left, araraloren joined 08:17 p6bannerbot sets mode: +v araraloren 08:22 dct joined, p6bannerbot sets mode: +v dct 08:30 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 08:35 Kaiepi joined 08:36 p6bannerbot sets mode: +v Kaiepi 08:42 cognominal-p6 left 08:43 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 08:46 rindolf joined, p6bannerbot sets mode: +v rindolf 08:51 dct left, fake_space_whale left 08:54 cognominal-p6 left 08:56 rfold joined 08:57 p6bannerbot sets mode: +v rfold
araraloren m: my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.tap( -> \v { say "GOT A ", v; }); react { whenever $s { $sup.done; }; $p.keep(1); } 08:59
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$s' is not declared
at <tmp>:1
------> 3{ say "GOT A ", v; }); react { whenever 7⏏5$s { $sup.done; }; $p.keep(1); }
araraloren m: my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.tap( -> \v { say "GOT A ", v; }); react { whenever $sup.Supply { $sup.done; }; $p.keep(1); }
camelia GOT A 1
araraloren m: my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.tap( -> \v { say "GOT A ", v; die 42; }); react { whenever $sup.Supply { $sup.done; }; $p.keep(1); }
camelia (timeout)GOT A 1 09:00
araraloren How can I handle the exception maybe throwed in the tap ?
m: my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.act( -> \v { say "GOT A ", v; die 42; }); react { whenever $sup.Supply { $sup.done; }; $p.keep(1); }
camelia (timeout)GOT A 1
timotimo is that what .on-close is for?
araraloren Will take a look :) 09:01
timotimo i'm not actually sure why that would timeout there
araraloren m: my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.on-close(-> { say "something ?"; }).tap( -> \v { say "GOT A ", v; die 42; }); react { whenever $sup.Supply { $sup.done; }; $p.keep(1); } 09:03
timotimo do you mean this ? seems like not working
camelia (timeout)GOT A 1
timotimo that's the one i thought of, but maybe that's not right
ah, i see 09:04
it's for when you actually close the tap itself by calling .close on the return value of the tap method
i don't think there's anything on tap to react to errors
not outside of a supply or react block anyway
09:05 lizmat_ joined
araraloren m: my $o = Promise.new; my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.tap( -> \v { say "GOT A ", v; try { die 42; CATCH { $o.break(42); } } }); react { whenever $sup.Supply { $sup.done; }; $p.keep(1); } 09:05
camelia (timeout)GOT A 1 09:06
09:06 p6bannerbot sets mode: +v lizmat_
araraloren m: my $o = Promise.new; my $p = Promise.new; my $sup = Supplier.new; $p.then({ $sup.emit(1); }); $sup.Supply.tap( -> \v { say "GOT A ", v; try { die 42; CATCH { $o.break(42); } } }); react { whenever $sup.Supply { $sup.done; }; whenever $o { }; $p.keep(1); } 09:07
camelia GOT A 1
An operation first awaited:
in block <unit> at <tmp> line 1

Died with the exception:
42
in block <unit> at <tmp> line 1
09:08 lizmat left
araraloren :/ tired to handle this, there are problems when using Supply/react 09:09
Geth doc: cfb80ef37d | (JJ Merelo)++ | htmlify.p6
Refactoring to advance #1306
09:13
timotimo can you tell me more about what problem you're trying to solve? 09:22
maybe we can find out if it's an X/Y thing
araraloren timotimo yeah, I am trying write my module with Supply/react 09:27
and just like the example, exception may throw by the user code 09:28
github.com/araraloren/perl6-getopt...on.pm6#L17 09:29
timotimo oh, so it's like an event or stream based parser?
araraloren yes
timotimo and the $v.process thing, that calls into user code? 09:30
araraloren yeah, it will
timotimo "all you need" is to CATCH around that, IMO
araraloren I want handle this in the getopt method: github.com/araraloren/perl6-getopt...ce.pm6#L81 09:31
timotimo of course i don't know what you need to do when that happens
araraloren but when I got a exception, it is hang on, similar like what you see in the example 09:32
Will appreciate if you can checkout the module run the test :) 09:33
timotimo right now i'm watching a presentation recording from the SPW, and i'm hoping to recover from a headache, so maybe i'll sit out on the balcony for a bit; before that i might not have enough brain to help with the whole module 09:34
araraloren timotimo I want try next OptionSet when user said they think the Option not matched 09:35
:) okay, I will try the Promise solution anyway
timotimo good luck!
araraloren thanks :) 09:36
timotimo oh my word, there was just a really bad volume/noise spike in the stream recording 09:58
oh well, the talk just ended anyway
10:04 chenyf left 10:20 marmor left
araraloren timotimo Seems like the Promise can be a solution currently, but that's ugly :/ 10:21
10:33 chenyf joined 10:34 p6bannerbot sets mode: +v chenyf 10:42 kylese joined, p6bannerbot sets mode: +v kylese 11:31 leont joined, p6bannerbot sets mode: +v leont 11:47 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 11:50 cognominal-p6 joined, cognominal-p6 left 11:51 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 12:14 cognominal-p6 left 12:45 psychoslave left 12:47 ccc joined 12:48 p6bannerbot sets mode: +v ccc
ccc Is there a way to tell need, use, require etc. to load a file from current directory instead of installing the silly thing from zef? 12:51
While I'm still learning, I don't want my ignorant attempts littering an install repository
MasterDuke ccc: i think `use lib '.';` might do what you want 12:57
ccc Thanks - checking it out 13:02
13:06 psychoslave joined 13:07 p6bannerbot sets mode: +v psychoslave
ccc MasterDuke: While searching for "use lib" docs, found this in modules doc, which may be more suitable for my purposes: 13:15
A user may have a collection of modules not found in the normal ecosystem, maintained by a module or package manager, but needed regularly. Instead of using the use lib pragma one can use the PERL6LIB environment variable to point to module locations. 13:16
p6: say hi 13:25
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
hi used at line 1
ccc p6: say "hi"
camelia hi
ccc p6: say <A B> X 1^2 13:26
camelia ((A one(1, 2)) (B one(1, 2)))
ccc p6: say <A B> X~ <1 2> 13:27
camelia (A1 A2 B1 B2)
13:32 ccc left 13:44 psychoslave left 13:49 lizmat_ left 13:54 lizmat joined, p6bannerbot sets mode: +v lizmat 14:06 chenyf left 14:07 chenyf joined, p6bannerbot sets mode: +v chenyf
araraloren m: module Foo { role K { } }; import Foo; role L { ... }; sub f(K \k) { }; f L.new; role L does K { }; 14:58
camelia 5===SORRY!5=== Error while compiling <tmp>
Invalid typename 'K' in parameter declaration.
at <tmp>:1
------> 3} }; import Foo; role L { ... }; sub f(K7⏏5 \k) { }; f L.new; role L does K { };
araraloren m: module Foo { role K is export { }; }; import Foo; role L { ... }; sub f(K \k) { }; f L.new; role L does K { };
camelia Type check failed in binding to parameter 'k'; expected Foo::K but got L (L.new)
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1
araraloren m: module Foo { role K is export { }; }; import Foo; role L { ... }; sub f(K \k) { }; f L.new; role L does Foo::K { };
camelia ( no output )
araraloren Why it think L is not a K ?? 14:59
15:00 zakharyas joined 15:01 p6bannerbot sets mode: +v zakharyas
araraloren m: module Foo { role K is export { }; }; module Bar { import Foo; role L { ... }; role L does K { }; }; import Foo; sub f(K \k) { }; import Bar; f(L.new); 15:06
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
L used at line 1
araraloren m: module Foo { role K is export { }; }; module Bar { import Foo; role L is export does K { }; }; import Foo; sub f(K \k) { }; import Bar; f(L.new);
camelia Type check failed in binding to parameter 'k'; expected Foo::K but got Bar::L (Bar::L.new)
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1
15:07 atweiden-air joined 15:08 p6bannerbot sets mode: +v atweiden-air 15:10 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6
araraloren Help here: stackoverflow.com/questions/522458...two-module 15:16
15:22 dogbert17 joined, p6bannerbot sets mode: +v dogbert17 15:23 cognominal-p6 left 15:24 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6
Geth doc: 6bc8ce7fc4 | (Elizabeth Mattijsen)++ | 2 files
Add documetation for the PredictiveIterator role
15:29
15:34 cognominal-p6 left
Geth doc: b049dc1f6b | (Luis F. Uceta)++ | doc/Language/traps.pod6
Remove period from headings and subheadings and other minor fixes
15:36
doc: 9c5ccd09ce | (Luis F. Uceta)++ (committed using GitHub Web editor) | doc/Language/traps.pod6
Merge pull request #2300 from uzluisf/master

Remove period from headings and subheadings and other minor fixes
synopsebot Link: doc.perl6.org/language/traps
16:05 epony left 16:07 epony joined, p6bannerbot sets mode: +v epony 16:13 lizmat left 16:24 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix araraloren: feels like a bug. If you use full name for K, then it works 16:24
m: module Foo { role K is export { }; }; module Bar { import Foo; role L does K is export { }; }; import Foo; sub f(Foo::K \k) { }; import Bar; f(L.new);
camelia ( no output )
Zoffix m: module Foo { role K is export { }; }; module Bar { import Foo; role L does K is export { }; }; import Foo; dd Foo::K === K 16:25
camelia Bool::False
16:26 Zoffix left
araraloren .tell Zoffix, thanks, I see :/ 16:28
yoleaux araraloren: What kind of a name is "Zoffix,"?!
araraloren .tell Zoffix thanks, I see :/
yoleaux araraloren: I'll pass your message to Zoffix.
16:30 araraloren left
masak hm, 007 builds are suddenly failing: travis-ci.org/masak/007/builds/426180309 -- doesn't seem to be something I did 16:58
`The program 'perl6' is currently not installed. To run 'perl6' please ask your administrator to install the package 'rakudo'` 16:59
has something changed in this area recently such that my travis config needs to adapt? 17:00
timotimo that was a version mismatch between nqp and rakudo
probably just perfectly bad timing?
masak ok, restarting build
diakopter sounds like an OS upgrade 17:01
17:02 AlexDani` joined
masak seems to go better now :> 17:02
17:03 p6bannerbot sets mode: +v AlexDani` 17:06 AlexDaniel left 17:12 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined, hitchcock.freenode.net sets mode: +v AlexDaniel, p6bannerbot sets mode: +v AlexDaniel 17:13 chenyf left 17:18 pecastro joined, p6bannerbot sets mode: +v pecastro 17:25 regreg left 17:27 lichtkind joined 17:28 p6bannerbot sets mode: +v lichtkind, regreg joined 17:29 p6bannerbot sets mode: +v regreg 17:49 jh joined, p6bannerbot sets mode: +v jh
jh yo 17:49
17:49 jh is now known as Guest3042
Guest3042 hello 17:50
masak hi, jh
Guest3042 perl6 sounds cool
masak it's OK I guess :P
Guest3042 how could i contribute?
masak I usually suggest "learning it in public" -- if you come in here regularly, ask questions, and use camelia, that in itself is a contribution 17:51
then there's all the other tasks like bug reporting, documentation, module management
Guest3042 right
could contribute with documentation to begin with 17:52
if someone could point me in the right direction, i suppose :)
17:53 domidumont joined
masak github.com/perl6/doc/issues 17:53
17:54 p6bannerbot sets mode: +v domidumont
AlexDaniel or even github.com/perl6/doc/issues?q=is%3...t+issue%22 17:54
Guest3042 thanks @AlexDaniel @masak 17:57
masak well, thank *you*, in a prefix-increment sort of way 17:58
17:58 Guest3042 left, jk joined, p6bannerbot sets mode: +v jk, jk left 17:59 ExtraCrispy left 18:02 ggoebel_ joined 18:03 p6bannerbot sets mode: +v ggoebel_ 18:14 kylese left 18:30 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 18:31 cognominal-p6 left 18:32 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6
Geth ecosystem: b987600cfc | (Aleks-Daniel Jakimenko-Aleksejev)++ | META.list
Fix link to META6.json file

The file was renamed.
18:36
AlexDaniel tbrowder__: github.com/tbrowder/Foo-Bar-Perl6/...3d5d9a76e9 18:45
tbrowder__: ↑ the name was fixed but there was no new release on cpan, so it doesn't resolve properly still
.tell stmuk can you fix that please? It's Test::META not Test::Meta gitlab.com/stmuk/p6-task-galaxy/bl...6.json#L52 18:46
yoleaux AlexDaniel: I'll pass your message to stmuk.
AlexDaniel .seen gabrielash 18:47
yoleaux I haven't seen gabrielash around.
AlexDaniel what is Lingua::EN::Stem::Porter ? 18:51
does anybody know?
.seen kmwallio
yoleaux I saw kmwallio 17 Jun 2016 23:27Z in #perl6: <kmwallio> m: ((1,2) == 1).say
AlexDaniel btw there are just 7 modules in the ecosystem that have something wrong in their “depends” or “test-depends” field: gist.github.com/AlexDaniel/b613eb4...1052385754 18:53
Lingua::EN::Stem::Porter seems to be a module that no longer exists? Or there's something wrong with my setup, I'm not sure 18:54
18:54 cognominal-p6 left
AlexDaniel both Acme::Skynet and Text::TFIdf are by the same author 18:54
tbrowder__, stmuk: ↑ hoping for your cooperation to reduce the list to just 5 :)
“IO::Socket::INET” and “Net::ZMQ:auth('github:gabrielash')” issues already have PRs for them, though unmerged… 18:55
19:06 woolfy joined 19:07 p6bannerbot sets mode: +v woolfy 19:17 domidumont left 19:21 spycrab0 joined, p6bannerbot sets mode: +v spycrab0 19:24 chenyf joined 19:25 p6bannerbot sets mode: +v chenyf, rfold left 19:29 chenyf left 19:30 sena_kun left 19:31 fake_space_whale joined 19:32 p6bannerbot sets mode: +v fake_space_whale 19:35 woolfy left 19:38 rfold joined 19:39 p6bannerbot sets mode: +v rfold 19:40 lizmat joined 19:41 p6bannerbot sets mode: +v lizmat
moritz is there anything that helps against the privmsg spam on freenode? 19:48
19:49 rfold left
AlexDaniel moritz: they're now spamming with privmsgs? 19:54
yesterday I was surprised how clean this channel is
19:54 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix moritz: set +R user mode 19:55
moritz: freenode does that auomatically now on connect, so you could try just reconnecting
lichtkind Zoffix, thanks for clarifyiing 19:56
moritz Zoffix: thanks, will try
AlexDaniel: they've been doing that for weeks :( 19:57
AlexDaniel never got their messages
Zoffix has +R set and haven't seen a single message
19:57 robertle left 19:58 Zoffix left 20:26 dct joined, p6bannerbot sets mode: +v dct 20:36 zakharyas left 20:38 fake_space_whale left
xinming use MIME::Base32:from<Perl5> <decode_base32>; my $str = decode_base32("NY4A5CPJZ46LXZCP"); $str.decode("ascii").perl.say; 20:44
In this case, How can we correctly to handle the Buf returned via perl5 functions?
s/to//g
echo -n "NY4A5CPJZ46LXZCP" | base32 -d shows correct result 20:45
timotimo what does the thing you get back look like when you .perl it or something? maybe youh ave to .list it first or something? 20:46
xinming Just now, I found that use $str.decode("ISO-8859-1") gave something meaningful.
timotimo ascii doesn't allow anything above 127 20:47
xinming timotimo: Will not decode invalid ASCII (code point > 127 found) It'll return error
I understood.
n8�éÏ<»äO
with ISO-8859-1, that's the string I got.
timotimo utf8 doesn't work? 20:48
xinming echo -n NY4A5CPJZ46LXZCP | base32 -d <--- This prints n8<O
timotimo: No, It doesn't work.
It seems the returned thing in perl6 is a bit different from what we can use in perl5 20:49
timotimo timo@schmand ~> echo -n NY4A5CPJZ46LXZCP | base32 -d | xxd
00000000: 6e38 0e89 e9cf 3cbb e44f n8....<..O
if the shell only prints n8<O, it's leaving out about half the data
xinming Ok... 20:50
Got it, thanks. :-)
timotimo no prob! :)
looking at the xxd of stuff is a reflex i took a long time to learn, and it has served me well 20:51
21:26 dmaestro joined, p6bannerbot sets mode: +v dmaestro
dmaestro camelia: perl6 -e 'package Test { role R { method foo(-->Int) {...} }; class C { has R $.delegate handles * is required; }; class D does R { has Int $.foo; }; }; my $d = Test::D.new(:foo(2)); my $c = Test::C.new(delegate => $d); say $d.foo; say $c.foo 21:28
camelia: package Test { role R { method foo(-->Int) {...} }; class C { has R $.delegate handles * is required; }; class D does R { has Int $.foo; }; }; my $d = Test::D.new(:foo(2)); my $c = Test::C.new(delegate => $d); say $d.foo; say $c.foo
:camelia say <hello> 21:29
I've obviously forgotten how to do this ...
m: say <hello>
camelia hello
dmaestro m: package Test { role R { method foo(-->Int) {...} }; class C { has R $.delegate handles * is required; }; class D does R { has Int $.foo; }; }; my $d = Test::D.new(:foo(2)); my $c = Test::C.new(delegate => $d); say $d.foo; say $c.foo 21:30
camelia 2
2
dmaestro That's more like it. Delegating a method works fine here, as a one-liner. But if I put the package in a file and try to use it, I get this: 21:31
perl6 -Ilib -MTest::Delegate -e 'my $d = Test::D.new(:foo(2)); my $c = Test::C.new(delegate => $d); say $d.foo; say $c.foo' 21:32
2 Cannot invoke this object (REPR: Null; VMNull) in block <unit> at -e line 1 21:33
Can anybody guess what is going on?
21:36 kensanata joined, p6bannerbot sets mode: +v kensanata
Kaiepi m: use experimental :smallnatives; my bit \foo = 1 21:46
camelia ===SORRY!===
Unknown uint size 1
Kaiepi what are the plans for this?
21:46 dct left 21:50 cognominal-p6 joined 21:51 p6bannerbot sets mode: +v cognominal-p6
dmaestro m: package TestD { role R { method foo(-->Int) {...} }; class C { has R $.delegate handles * is required; }; class D does R { has Int $.foo; }; }; my $d = TestD::D.new(:foo(2)); my $c = TestD::C.new(delegate => $d); say $d.foo; say $c.foo 22:00
camelia 2
2
dmaestro If someone can take a look, I'd appreciate it -- thinking I should submit a rakudobug ... 22:03
gist.github.com/dmaestro/826f4a602...1c72785ef2
22:03 MasterDuke left 22:04 sotona joined, p6bannerbot sets mode: +v sotona 22:05 cognominal-p6 left, cognominal-p6 joined 22:06 p6bannerbot sets mode: +v cognominal-p6 22:13 cognominal-p6 left 22:21 atweiden-air left 22:30 kensanata left
Geth ecosystem: a3449ab99e | (Aleks-Daniel Jakimenko-Aleksejev)++ | META.list
Add Foo::Regressed modules
22:50
22:52 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 22:53 graphene left, p6bannerbot sets mode: +v reportable6 22:55 graphene joined, p6bannerbot sets mode: +v graphene
tbrowder__ AlexDaniel: i have uploaded a new version of Foo::Bar to cpan...i hope that works. 23:00
AlexDaniel tbrowder__: thanks! 23:01
buggable New CPAN upload: Foo-Bar-Perl6-72.0.1.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...0.1.tar.gz 23:04
New CPAN upload: Foo-Bar-Perl6-72.0.1.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...72.0.1.zip
tbrowder__ you’re very welcome, i’m sorry i forgot about the problem, but when will you run another test to make sure it works? 23:05
23:05 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 23:06 p6bannerbot sets mode: +v reportable6
AlexDaniel tbrowder__: I'm waiting for this thing to be updated: raw.githubusercontent.com/ugexe/Pe.../cpan.json 23:09
seems to be twice a day, so tomorrow should be fine 23:11
23:23 sotona left 23:25 chenyf joined 23:26 p6bannerbot sets mode: +v chenyf 23:30 chenyf left 23:41 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 23:42 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke