🦋 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.
[Coke] ^^ do we even have a "Perl5" Compiler? 00:14
I wonder if the text that was just fixed there was more a "if we had it..." 00:15
00:26 asymptotically left 00:31 wamba left 01:08 pecastro left 01:10 RaycatWhoDat left, RaycatWhoDat joined, RaycatWhoDat left 01:14 cpan-raku left 01:19 cpan-raku joined, cpan-raku left, cpan-raku joined 01:58 webstrand left 02:07 gdonald joined 02:15 k-man left, rindolf joined 02:20 gdonald left
coldpress raiph: Here are the details: without CArray: 0x0.st/iFHl.raku, with CArray: 0x0.st/iFH0.raku. I can't use Blobs because I need my CArray to be mutable 02:28
tellable6 coldpress, I'll pass your message to raiph
03:20 evalable6 left, linkable6 left 03:22 linkable6 joined 03:23 evalable6 joined 04:17 maggotbrain joined 04:56 hvxgr left 05:49 ensamvarg left, ensamvarg joined 06:19 aborazmeh joined, aborazmeh left, aborazmeh joined 06:32 frost-lab joined 06:33 parabolize left 06:53 rindolf left
xinming_ in react whenever { }, I know we can't do return, since return only works in sub, Then, how do we early exit a block in whenever? I don't mean to group the logic with a large if 07:51
07:53 evalable6 left, linkable6 left 07:55 linkable6 joined 07:56 evalable6 joined 08:08 Altai-man joined 08:35 rindolf joined 08:49 brtastic joined
MasterDuke xinming_: `done` i think 08:51
08:53 stoned75 joined
Geth doc/eval-2905: bad7c186d4 | (Stoned Elipot)++ | doc/Type/independent-routines.pod6
Add example for EVAL's filename parameter
09:00 brtastic left, brtastic joined
tyil MasterDuke: I thought `done` finishes the react block, not the specific whenever block 09:02
MasterDuke oh, that very well could be true 09:08
09:09 sena_kun joined
MasterDuke but wait, isn't that what's wanted? or is there really code in the body of the react that is desired to be run after the whenever? 09:10
09:10 Altai-man left 09:11 aborazmeh left 09:32 sjm_uk joined 09:34 wamba joined 09:46 webstrand joined 10:34 sjm_uk left 10:48 Sgeo left 11:07 brtastic left
xinming_ MasterDuke: I mean exit the current whenever block, but not stop the whole react block. 11:14
lizmat there is a "leave" statement suggested for that, but this was never implemented as it was deemed unnecessary 11:20
11:31 asymptotically joined 11:33 pecastro joined 11:41 sacomo left
Geth doc/eval-2905: 4687964c53 | (Stoned Elipot)++ | doc/Type/independent-routines.pod6
Add hint about more languages support for EVAL
11:48 aborazmeh joined, aborazmeh left, aborazmeh joined 12:10 aindilis left 12:43 sjm_uk joined 12:58 aborazmeh left 13:08 Altai-man joined 13:10 sena_kun left 13:25 asymptotically left
Geth doc: 8f033006c0 | (Stoned Elipot)++ | doc/Type/Parameter.pod6
Fix link
linkable6 Link: docs.raku.org/type/Parameter
13:38 cpan-raku left, Quirk joined 13:41 hvxgr joined 13:45 cpan-raku joined, cpan-raku left, cpan-raku joined 13:51 MasterDuke left, lucasb joined, sjm_uk left 14:01 kensanata joined 14:07 aindilis joined
Geth doc: b64b123cb0 | (Stoned Elipot)++ | doc/Type/Parameter.pod6
Xref about sigils and twigils
linkable6 Link: docs.raku.org/type/Parameter
14:19 wamba left 14:20 MasterDuke joined 14:24 kensanata left 14:33 cpage left 14:40 wamba joined, sxmx left 14:44 sxmx joined
Geth doc: 93889d370d | (Stoned Elipot)++ | doc/Type/Parameter.pod6
Fix links
linkable6 Link: docs.raku.org/type/Parameter
14:54 Quirk left 15:15 wamba left
Geth doc: c620570a13 | (Stoned Elipot)++ | doc/Type/Parameter.pod6
Fix links
linkable6 Link: docs.raku.org/type/Parameter
15:39 parabolize joined 15:48 wamba joined 15:59 aborazmeh joined, aborazmeh left, aborazmeh joined 16:09 _jrjsmrtn joined 16:11 __jrjsmrtn__ left 16:49 stoned75 left 17:04 stoned75 joined 17:09 sena_kun joined 17:10 Altai-man left 17:35 aborazmeh left, leont joined 17:36 dataange` joined, dataangel left 17:39 aborazmeh joined, aborazmeh left, aborazmeh joined
stoned75 commit: releases say :($a).params[0].default 17:48
committable6 stoned75, gist.github.com/b7af603fd4752feaba...dec3e1f1c8
lizmat bisectable6: say :($a).params[0].default 17:56
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat, Output on all releases: gist.github.com/c69f455e3d5b77984a...23aff7b609
lizmat, Bisecting by output (old=2020.07 new=2020.08.2) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/abb8357bbda2c59806...09057f4837
lizmat, (2020-06-18) github.com/rakudo/rakudo/commit/c1...f35a2c87af
lizmat, Output on all releases and bisected commits: gist.github.com/1d367083adec0d5ba4...9be5d22ecd 17:57
stoned75 c11f4b18ae67462ec281b226788b2ef35a2c87af is the answer :) 17:59
linkable6 (2020-06-18) github.com/rakudo/rakudo/commit/c11f4b18ae Type Parameter's methods
Geth doc/param-default: b16ac9bfa9 | (Stoned Elipot)++ | doc/Type/Parameter.pod6
Update Parameter.default and add example
doc: stoned++ created pull request #3734:
Update Parameter.default and add example
stoned75 commit: releases say :(Any).params[0].name 18:04
committable6 stoned75, gist.github.com/200c644847a26782fa...b98b6cefc5
stoned75 Parameter.usage-name is the parameter's name without any sigil or twigil. am I wrong ? 18:16
18:25 aluaces left 18:31 aluaces joined
Geth doc: 875dacc6af | (Stoned Elipot)++ (committed by Juan Julián Merelo Guervós) | doc/Type/Parameter.pod6
Update Parameter.default and add example
linkable6 Link: docs.raku.org/type/Parameter
18:45 rindolf left 19:02 sjm_uk joined
Geth doc/eval-2905: 1cfc69443d | (Stoned Elipot)++ | doc/Type/independent-routines.pod6
Clarify EVAL's $filename parameter description
19:43 asymptotically joined
Geth advent/zaucker-patch-1: d6ed630e0b | (Fritz Zaucker)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md
Update authors.md

Add zaucker
advent: zaucker++ created pull request #80:
Update authors.md
19:45 Xliff joined
Geth advent: d6ed630e0b | (Fritz Zaucker)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md
Update authors.md

Add zaucker
advent: 940b5d97c1 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md
Merge pull request #80 from Raku/zaucker-patch-1

Update authors.md
doc/master: 6 commits pushed by (Stoned Elipot)++, stoned++ 19:54
20:01 sjm_uk left 20:11 musasji_ joined 20:13 musasji_ left
stoned75 commit: releases say Signature.new(foo=>3) 20:14
committable6 stoned75, gist.github.com/3d0de5d0152bc2ef35...5b64f826c0
stoned75 commit: releases say Signature.new(params=>3) 20:15
committable6 stoned75, ¦releases (49 commits): «()␤»
20:16 musasji_the1 joined 20:21 musasji_the1 left, musasji_the1 joined 20:40 musasji_the1 left, musasji_the1 joined 20:41 veryhungryhippos joined, rir left, musasji_the1 left, musasji_the1 joined 20:42 musasji_ joined, musasji_ left 20:43 musasji_the1 left, veryhungryhippos left
stoned75 jj:w 20:45
El_Che a computer without esc? :) 20:47
stoned75 eh 20:48
Xliff My new "monitor" ... photos.app.goo.gl/B9aXjLkue1KRRVUY6 20:51
21:01 Sgeo joined 21:08 Altai-man joined 21:11 sena_kun left
codesect` is there a better way to conditionally call a function? right now I have something like `.&{ :$condition ?? .fn !! $_ }` but that feels clunku 21:14
lizmat well, apparently you want to call the method on $_ when a condition is met 21:15
and otherwise pass on $_, right ? 21:16
codesect` yeah
and the problem is that most conditionals don't pass on $_; they return Nil when false 21:17
lizmat yeah, or Empty, but yeah 21:18
codesect` oops, right
lizmat but to be honest, what feels clunky to me in that example, is the use if .&{ ... } :-)
codesect` yeah. Maybe `(.fn if $condition) // $_` would be a better way to say it 21:21
(though that might need to be wrapped in extra (), depending on what's around it) 21:23
stoned75 eval: Parameter.new(name => '*@a') 21:24
evalable6 (exit code 1) Cannot call method 'EXISTS-KEY' on a null object
in block <unit> at /tmp/F9e6nNI5uo line 1
stoned75 I'm a bit suprised by the result :-}
surprised even 21:25
lizmat yeah, that is weird 21:26
ah, found the issue 21:27
stoned75 cool 21:28
lizmat m: class A { method BUILD(*%args) { dd %_ } }; A.new # more benevolent version
camelia Mu
21:48 dataange` left 21:51 patrickb joined 21:52 aborazmeh left
patrickb Is it expected, that a script called as `raku -I. bin/script.raku` won't be able to access the resource files? If not I'll rakudobug... 21:54
22:02 maggotbrain left
lizmat I don't think so: %*RESOURCES is internal to a module only, is it not ? 22:08
patrickb Is there any way to make a script part of a module? 22:09
This gave me a huge WAT yesterday. (Didn't figure it out until a few minutes ago.) 22:11
22:11 k-man joined
lizmat if you control the module, then you could think of adding a class method that exposes its %*RESOURCES ? 22:15
22:17 wamba left
patrickb I guess that's what I'll do. Create a lib folder with a rakumod file in my module. Feels like overkill in a module otherwise only consisting of a 87 line script and three resource files... 22:17
Just so I understand this correctly. `.raku` files are never considered to be part of a module, correct? 22:23
lizmat that's my understanding, yes
patrickb Ok. Thanks for clarifying! I'll try to get this doc-ed somehow. :-) 22:25
22:41 Altai-man left 22:42 patrickb left
codesect` upon coming back to that section of my code, I think `?$condition Rxx .fn || $_` is a clearer way to say what I want to say 22:45
(`?$condition && .fn || $_` also works, but the precedence isn't quite as clear, imo) 22:47
lizmat if the result of .fn is false, is it the intent that $_ is used ? 22:56
23:02 asymptotically left
stoned75 commit: releases say :(Any).params[0].name 23:13
committable6 stoned75, gist.github.com/17daa2552dd51de3db...b97d587529