🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:23 hacktor joined 00:27 ZzZombo_ joined 00:29 ZzZombo left 00:30 ZzZombo_ is now known as ZzZombo 00:31 johnjay left 00:34 johnjay joined 01:34 quotable6 left, bisectable6 left, reportable6 left, bloatable6 left, coverable6 left, nativecallable6 left, releasable6 left, committable6 left, greppable6 left, benchable6 left, unicodable6 left, notable6 left, squashable6 left, sourceable6 left, shareable6 left, statisfiable6 left, greppable6 joined, committable6 joined, coverable6 joined, bisectable6 joined 01:35 quotable6 joined, releasable6 joined, reportable6 joined, nativecallable6 joined, shareable6 joined, squashable6 joined 01:36 benchable6 joined, unicodable6 joined, statisfiable6 joined 01:37 notable6 joined, sourceable6 joined, bloatable6 joined 02:35 wildtrees left 03:36 lucasb left 04:36 squashable6 left, statisfiable6 left, committable6 left, benchable6 left, coverable6 left, bloatable6 left, nativecallable6 left, releasable6 left, notable6 left, shareable6 left, sourceable6 left, reportable6 left, unicodable6 left, quotable6 left, greppable6 left, bisectable6 left 04:37 greppable6 joined, reportable6 joined, bloatable6 joined, notable6 joined, nativecallable6 joined 04:38 bisectable6 joined, quotable6 joined, squashable6 joined, coverable6 joined, releasable6 joined 04:39 unicodable6 joined, shareable6 joined, statisfiable6 joined, sourceable6 joined, committable6 joined, benchable6 joined 04:50 rindolf joined 05:50 quotable6 left, statisfiable6 left, greppable6 left, releasable6 left, shareable6 left, notable6 left, coverable6 left, squashable6 left, evalable6 left, sourceable6 left, unicodable6 left, bisectable6 left, nativecallable6 left 05:51 unicodable6 joined, nativecallable6 joined, releasable6 joined, shareable6 joined 05:52 statisfiable6 joined, notable6 joined, bisectable6 joined 05:53 squashable6 joined, evalable6 joined, coverable6 joined, quotable6 joined, sourceable6 joined, greppable6 joined 06:25 Xliff joined
Xliff . 06:25
06:26 Xliff left 07:08 wamba joined 08:05 voegelas left
moon-child .. 08:11
Geth advent: 058592005d | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | raku-advent-2019/schedule
Swapping articles

Please @nige123 tell me *now* if you can make it for the 21st or I really will have to look for alternatives.
08:24
08:29 jmerelo joined
Geth advent: 17987aa35f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | raku-advent-2019/schedule
Swapping articles

  @arnesom's moved back to the 23th, @tbrowder's moved up to tomorrow.
08:29
jmerelo It's again that time of the year when no one's have their advent calendar article ready for publication when it should. 08:31
So if you said you were going to publish an article and have a slot assigned, please have it ready *now* since I'm starting pushing up a few days articles that were scheduled for later 08:32
08:32 benjif joined
jmerelo And if you don't have a slot assigned, just request one and write the article ASAP. I'll schedule it when I have nothing else to work with, or by the end of the season. 08:33
Here's the new and improved schedule: github.com/Raku/advent/blob/master...9/schedule Please add yourself at the end, but not before your article is ready. 08:34
08:34 xinming left 08:37 xinming joined 08:43 n1ge joined
jmerelo Hi, n1ge 08:43
n1ge hi jmerelo - I'm on track to submit an entry by the end of the day 08:44
jmerelo n1ge: I'll publish it tomorrow, then
n1ge sorry if there is some confusion here
ok cool
jmerelo But please submit it today anyway
n1ge I was just going to put into wordpress and schedule to release it 08:45
is there a different process than previous years?
jmerelo n1ge: the difference is that I would like to have had the article a few days in advance
n1ge: to review them, and just to know that they are ready
n1ge oic ok
yes - that's a good idea - sorry I didn't realise 08:46
jmerelo n1ge: but by all means post it now, and I can reschedule stuff, no problem.
I'll try to have a look at it as soon as you post it
n1ge ok cool - will submit it later tonight - you can decide when it's best to publish 08:48
jmerelo n1ge: thanks
09:43 evalable6 left 09:44 evalable6 joined
lizmat Files=1292, Tests=109640, 209 wallclock secs (28.28 usr 8.23 sys + 2957.07 cusr 267.89 csys = 3261.47 CPU) 09:58
10:02 vividsnow1 joined 10:04 vividsnow left, vividsnow1 is now known as vividsnow 10:11 chloekek joined 10:12 vividsnow left 10:13 vividsnow joined 10:23 vividsnow left, vividsnow joined 10:29 stoned75 joined 10:33 benjif left, n1ge left, n1ge joined
chloekek Surprised you can’t use whenever in postfix form: react { f() whenever $x; } 10:42
jmerelo chloekek: but then how would you add another whenever? 10:50
chloekek react { f() whenever $x; g() whenever $y; } 10:54
11:11 chloekek left
Geth doc: a319e660c2 | (Stoned Elipot)++ | doc/Language/control.pod6
Remove extraneous #
11:18
jmerelo chloekek um. Right. 11:33
11:36 chloekek joined
chloekek p6: my $xs := [1, 2, 3]; push $xs, 4; say $xs; 11:50
camelia [1 2 3 4]
chloekek I wonder if it would be easier to use Raku with just the $ and & sigils, and := wherever possible. 11:51
Esp. with immutable lists and maps. 11:52
@ and % don’t seem all that useful without the Perl 5-like list behavior, other than the special behavior when initializing them (e.g. my @xs = 1, 2, 3) copies the list into a new array. 11:53
11:56 mscha joined
chloekek $ is useful because it’s universal, and & is useful because you can do a call by omitting the sigil, but @ and % don’t seem to have anything special to them other than the non-:= initialization behavior. 11:56
mscha m: my %h{Complex} = 0+0i => 'foo'; say %h{0+0i}; say %h{0-0i}; say 0+0i == 0-0i;
camelia foo
(Any)
True
chloekek p6: my $xs := (1, 2, 3); my @ys = $xs; say @ys.perl; 11:59
camelia [1, 2, 3]
chloekek p6: my $xs := (1, 2, 3); my @ys = $xs,; say @ys.perl; 12:00
camelia [(1, 2, 3),]
mscha github.com/rakudo/rakudo/issues/3354 12:03
jmerelo chloekek: visibility, maybe? 12:05
tobs I agree insofar as Array and Hash in Raku behave like references already if you come from a Perl point of view (no flattening), but the explicit sigil still helps me discern singular from plural in a variable name. 12:06
chloekek You mean that you can immediately see that it’s positional or associative?
That’s true.
jmerelo chloekek: that's what they mean for me, at least.
Admitted this is maybe something that is meaningful only for people heavily invested in Perl before 12:07
chloekek If it’s about “plurality” one might argue this is not intuitive: 12:08
tobs but I see your point, as referring to an Array through a scalar container is most often(?) not different from a positional container.
chloekek p6: my @a := set(1, 2, 3)
camelia Type check failed in binding; expected Positional but got Set (Set.new(3,2,1))
in block <unit> at <tmp> line 1
chloekek So it being positional per se is quite significant.
Otoh:
p6: my %a := set(1, 2, 3) 12:09
camelia ( no output )
tobs ^ was about to write that :)
12:22 sauvin left
tbrowder jmerelo: i noted advent fo me on 17 but you said "tomorrow". confirm, please 12:23
tellable6 2019-12-14T07:39:55Z #raku <jmerelo> tbrowder thanks too!
12:24 sauvin joined
jmerelo tbrowder: tomorrow-ish 12:26
It's tomorrow after midnight for me
Still, n1ge showed up today, so I might still push it back another day 12:27
tbrowder ah, so 2019-12-17T0001 UTC? 12:28
jmerelo tbrowder: for the time being, yes. 12:30
tbrowder ok, got it
12:35 mid_home joined 12:39 chloekek left
n1ge here is a draft version of my advent entry: wordpress.com/post/rakuadventcalen...ss.com/312 12:50
comments/feedback/suggestions welcome
jmerelo n1ge: please add some links to documentation, for instance in TWEAK 12:52
IO::Path, $*HOME...
n1ge: add also some categories like Modules or Applications 12:53
And schedule it for 2019-12-16T0001 UTC 12:54
I'll push back the other two scheduled articles one day.
and thanks, n1ge
12:57 chloekek joined
n1ge ok will do 12:58
13:10 jmerelo left, wamba left 13:15 shlomif joined, rindolf left 13:16 shlomif is now known as rindolf 13:20 shlomif joined, rindolf left 13:22 lucasb joined
chloekek p6: sub f {}; say f.WHAT.HOW.perl 13:27
camelia Perl6::Metamodel::ClassHOW.new
13:35 shlomif is now known as rindolf
chloekek p6: class C {}; my $x := C.new; $x.BUILD(42) 13:35
camelia No such method 'BUILD' for invocant of type 'C'
in block <unit> at <tmp> line 1
chloekek p6: Sub.new 13:39
camelia Cannot make a Sub object using .new
in block <unit> at <tmp> line 1
14:01 benjif joined, benjif left 14:02 normanrockwell joined, normanrockwell left 14:05 sena_kun joined
tbrowder n1ge: sweet! 14:11
14:12 mscha left 14:18 vividsnow left 14:19 vividsnow joined
Geth doc: 52f11dee3c | (Stoned Elipot)++ | doc/Language/control.pod6
kill the suspense, give the example's output
14:27
14:52 chloekek left 14:53 sena_kun left 14:57 cpan-raku left 14:58 cpan-raku joined, cpan-raku left, cpan-raku joined 15:07 chloekek joined 15:08 sena_kun joined 15:26 Manifest0 left 15:34 Manifest0 joined 15:42 KotH left 15:57 jmerelo joined
jmerelo .seen n1ge 16:04
tellable6 jmerelo, I saw n1ge 2019-12-15T12:58:13Z in #raku: <n1ge> ok will do
jmerelo .tell n1ge I'm going to schedule your article for tonight, if you don't mind; right not it's just a draft. If you want to change something, do so in the next 8 hours or so 16:05
tellable6 jmerelo, I'll pass your message to n1ge
16:21 lucasb left 16:54 sena_kun left 16:59 KotH joined 17:09 sena_kun joined 17:38 wamba joined 17:54 AlexDani` joined 17:55 vividsnow left, AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined 18:05 Kaiepi left 18:08 Kaiepi joined 18:20 vividsnow joined 18:49 vividsnow left 18:55 sena_kun left 19:09 sena_kun joined, vividsnow joined 19:39 jmerelo left 19:43 RobRaku joined 20:10 RobRaku left 20:13 guifa2 joined
pilne so, how much trouble am I biting off if i want to try and do the whole "develop in a working process(vm)?" thing like common lisp does with raku? :D 20:31
20:54 sena_kun left 21:07 RobRaku joined 21:10 sena_kun joined 21:26 Manifest0 left 21:27 rindolf left, patrickb joined 21:53 RobRaku left 21:55 chloekek left 22:21 AlexDani` joined 22:24 AlexDaniel left 22:26 AlexDani` left 22:54 sena_kun left 23:00 wamba left 23:09 sena_kun joined 23:19 guifa2 left 23:34 guifa2 joined 23:51 Kaiepi left 23:52 Altai-man_ joined 23:54 Kaiepi joined, Kaiepi left, Kaiepi joined 23:56 Kaiepi left, Kaiepi joined