»ö« #raku and #raku-dev are OPEN FOR BUSINESS | 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 mst on 15 October 2019.
00:00 wildtrees left 00:47 _jrjsmrtn joined, __jrjsmrtn__ left 00:50 afasdf joined 00:56 benjif left 00:58 afasdf left 00:59 ZzZombo_ joined 01:02 ZzZombo left, ZzZombo_ is now known as ZzZombo
cpan-raku New module released to CPAN! LibXML (0.1.5) by 03WARRINGD 01:07
01:15 hoelzro joined 01:27 koalaking joined
koalaking Hi, I have a newb question - I am trying to learn inheritance in perl6 - following the book Learning Perl 6. In ex 12.4, I am asked to print using inheritance. Here is a gist - gist.github.com/skrisna/57c2e15bee...ritance-p6 01:28
It prints Hamadryas is Hamadryas, Hamadryas, Hamadryas, Hamadryas, Hamadryas 01:29
This is not what I expected
any suggestions?
Thanks in advance! 01:30
01:40 molaf left 01:50 softmoth left 01:53 molaf joined 01:57 Doc_Holliwood left 02:14 softmoth joined 02:19 kotrcka left 02:27 koalaking left 02:28 jimtron left, jimtron joined 02:32 Lite joined 02:46 Cabanossi left 02:52 wamba joined 02:59 Cabanossi joined 03:05 sftp left, sftp joined 03:06 hythm joined 03:07 hythm left, hythm joined
AlexDaniel koalaking: yeah, that's not how it works, the object itself is still Hamadryas. With your code you can do something like this: gist.github.com/AlexDaniel/47d913c...13c4f4fb97 03:23
tellable6 AlexDaniel, I'll pass your message to koalaking
AlexDaniel koalaking: but really you can do just: say Hamadryas.new.^mro; 03:24
tellable6 AlexDaniel, I'll pass your message to koalaking
AlexDaniel koalaking: also, people are more active on #raku :)
tellable6 AlexDaniel, I'll pass your message to koalaking
03:27 ZzZombo_ joined 03:30 ZzZombo left, ZzZombo_ is now known as ZzZombo 03:36 wamba left 03:38 jimtron left, jimtron joined 03:42 hungrydonkey joined
hungrydonkey 'p6: say "hello";' 03:43
p6: say 'hello' 03:44
evalable6 hello
03:50 hungrydonkey left 03:51 hungrydonkey joined 03:52 ZzZombo left 03:53 APic joined 04:25 wamba joined 04:32 molaf left 04:39 Cabanossi left, Cabanossi joined 04:47 Actualeyes joined 04:51 hungrydonkey left 04:52 hungrydonkey joined 05:07 hythm left 05:21 Actualeyes left, Actualeyes joined 05:24 hungrydonkey left 05:52 hungrydonkey joined, hungrydonkey left 05:57 Actualeyes left, Actualeyes joined 05:59 xinming_ left 06:01 xinming_ joined 06:04 wamba left 06:13 softmoth left 06:17 jimtron left, jimtron joined 06:19 sena_kun joined 06:21 domidumont joined 06:38 abraxxa joined, abraxxa left 06:39 abraxxa joined 06:43 abraxxa left 06:44 abraxxa joined 07:01 sarna joined 07:06 Woodi joined 07:11 kensanata joined 07:13 sena_kun left 07:14 wamba joined 07:24 Doc_Holliwood joined 07:46 jimtron left, jimtron joined 07:49 marcusr joined 07:54 marcusr left, marcusr joined 08:03 reach_satori left, reach_satori joined 08:20 kensanata left 08:25 xinming_ left 08:27 xinming_ joined 08:34 epony left 08:36 pecastro joined 08:45 Drperl joined 08:47 Alex22 joined
Alex22 hi 08:47
tyring to compile to bytecode, then run bytecode on moarvm, any good docs? 08:49
09:04 Doc_Holliwood left
MasterDuke Alex22: i don't remember how, but people have talked about it before on these channels 09:16
i'd either try asking again in #raku (people are switching over to there) or searching the irc logs for something like "bytecode" colabti.org/irclogger/irclogger_lo...arch/perl6 09:17
Alex22 thank you 09:29
09:38 Alex22 left 09:40 Benett joined 09:49 isBEKaml joined 09:53 Doc_Holliwood joined 09:58 jimtron left 09:59 jimtron joined 10:04 jimtron left, jimtron joined 10:11 sena_kun joined 10:12 Black_Ribbon left 10:13 wamba left 10:19 wamba joined 10:26 |oLa|1 left 10:56 aborazmeh joined, aborazmeh left, aborazmeh joined 10:58 epony joined 11:01 Drperl left 11:08 aborazmeh left 11:19 MasterDuke left
SmokeMachine www.irccloud.com/pastebin/77MLf0H5/ 11:25
11:29 wamba left 11:33 molaf joined 11:36 xinming_ left 11:37 xinming_ joined 11:45 isBEKaml left 12:02 MasterDuke joined 12:13 aborazmeh joined, aborazmeh left, aborazmeh joined 12:14 scimon joined 12:25 gabiruh left, gabiruh joined 12:30 abraxxa left 12:34 aborazmeh left 13:02 jimtron left 13:03 jimtron joined 13:11 bisectable6 joined, ChanServ sets mode: +v bisectable6 13:38 yht joined 13:39 veesh_ joined 13:40 veesh_ is now known as veesh 13:44 Sgeo_ left, Sgeo_ joined 13:56 lelf joined 14:05 john_parr joined 14:15 sarna left 14:16 cpan-raku left 14:17 cpan-raku joined, cpan-raku left, cpan-raku joined 14:24 lucasb joined 14:54 kensanata joined
lelf p6: say «foo12 bar321».map(* ~~ /<:L>+/)».Str # Hi! Is there shortcut for this (.map(* ~~ RE)».Str)? 14:55
evalable6 (foo bar)
timotimo m: dd "foo12 bar321".map(/<:L>+/)>>.Str 15:01
evalable6 (exit code 1) No such method '!cursor_start' for invocant of type 'Str'
in block <unit> at /tmp/1kydrR4f8m line 1
timotimo m: dd "foo12 bar321".map(rx/<:L>+/)>>.Str
evalable6 (exit code 1) No such method '!cursor_start' for invocant of type 'Str'
in block <unit> at /tmp/vu5eXdRZo3 line 1
timotimo m: dd "foo12 bar321">>.match(rx/<:L>+/)>>.Str 15:02
evalable6 ("foo",)
timotimo ah, you already have a string though i thought we were working with an array
in that case:
m: dd "foo12 bar321".comb(/<:L>+/)
evalable6 ("foo", "bar").Seq
15:06 Guest13443 left 15:07 domidumont left 15:12 yht left 15:19 scimon left 15:26 leah2 joined 15:38 scimon joined 15:46 kensanata left 15:59 scimon left 16:13 kensanata joined 16:21 wamba joined 16:24 softmoth joined 16:44 molaf left 16:51 kensanata left 17:07 MilkmanDan joined 17:14 [Sno] left 17:16 wamba left 17:45 benjif joined 17:54 wildtrees joined, wildtrees left 17:55 wildtrees joined 18:12 sno joined 18:17 sno left 18:18 sno joined 18:32 [Sno] joined 18:35 sno left 18:40 fingolfin3 joined 18:45 fingolfin3 left 18:46 abraxxa joined, fingolfin3 joined 18:47 perlbot joined
fingolfin3 Hi! Can I use only Str for hash keys? I have confused becouse Pair can contain any object for key or value, but this does not seem to be true for hashes. 18:47
18:48 abraxxa left
MasterDuke fingolfin3: you can use other types, those are called object hashes docs.perl6.org/language/hashmap#No...ject_hash) 18:50
and fyi, most people are moved over to #raku
18:50 simcop2387 joined
fingolfin3 Thanks, I will reed it 18:50
18:52 reach_satori left 18:54 reach_satori joined 19:27 lelf left, lelf joined 19:31 xkr47 joined
xkr47 is the official channel now #raku ? 19:32
sena_kun xkr47, yes
19:39 Cabanossi left 19:43 Cabanossi joined 19:46 gabiruh_ joined, gabiruh left
xkr47 sena_kun, *updating wikipedia* :) 19:57
sena_kun xkr47++ 19:58
sena_kun writes %?RESOURCES docs...
xkr47 nice 20:00
so what is happening in this old channel? just telling people to move on? :) 20:01
sena_kun xkr47, people are moving to #raku, what'll happen with this channel... no idea. 20:02
xkr47 ^^ 20:03
I'm testing the limits on #raku now, let's see what happens ^^
20:09 Black_Ribbon joined 20:16 gtodd joined 21:08 sena_kun left 21:16 sena_kun joined
simcop2387 i'm going to upgrade the install of raku on perlbot (and also probably setup a rakubot) this weekend, i think I ask this every time, but are there any particular libraries or modules that you folks would like added (or removed) when I do so? only real restriction is that the pastebin and eval can't do network traffic 21:20
xkr47: sena_kun: i haven't been told anything official about it, but from what i have heard it'll like end up redirecting to #raku as things move along. 21:21
Grinnz it's pretty much always official. just go there 21:29
already*
i guess the docs just have to be updated to point people there if it hasn't
21:29 softmoth left 21:39 wamba joined 21:42 molaf joined
simcop2387 Grinnz: yea it's just all paperwork at this point is my understanding 21:46
22:05 lelf left 22:16 sena_kun left 22:38 xinming_ left 22:39 xinming_ joined 22:50 kensanata joined 22:54 kensanata left 23:00 pecastro left 23:45 wamba left