🦋 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.
bisectable6 elcaro, ¦6c (48 commits): «» 00:00
elcaro, Nothing to bisect!
cpan-raku New module released to CPAN! HTTP::Tiny (0.0.1) by 03JJATRIA 00:06
elcaro bisectable6: gist.githubusercontent.com/0racle/...-role.raku 00:36
bisectable6 elcaro, Will bisect the whole range automagically because no endpoints were provided, hang tight
elcaro, Successfully fetched the code from the provided URL
elcaro, Output on all releases: gist.github.com/cd180baa8e1e3cca8a...9df6b57120
elcaro, Bisecting by exit code (old=2019.11 new=2020.01). Old exit code: 0
elcaro, bisect log: gist.github.com/7355b269372d80d4d6...6f81f9d06a 00:37
elcaro, (2019-12-13) github.com/rakudo/rakudo/commit/15...67b232c574
elcaro, Successfully fetched the code from the provided URL
elcaro, Bisecting by exit code (old=2019.03.1 new=2019.07.1). Old exit code: 1
elcaro, bisect log: gist.github.com/031c6b4ea389726124...901d398758
elcaro, Successfully fetched the code from the provided URL
elcaro, Bisecting by output (old=2018.10 new=2018.11) because on both starting points the exit code is 1
elcaro, bisect log: gist.github.com/44de295953b0c8fd8f...376d535373 00:38
elcaro, (2018-10-27) github.com/rakudo/rakudo/commit/46...96034408c8
elcaro, Output on all releases and bisected commits: gist.github.com/441dadb6d781e0c0cb...ba19a472cb
xinming m: my @x = (1..5); my ($^C **@b) = (1, @x); [$a, @b].raku.say; 02:37
camelia 5===SORRY!5===
Positional placeholder variables like '$^C' are not allowed in
signatures. Did you mean: '$C' ?
at <tmp>:1
------> 3my @x = (1..5); my ($^C7⏏5 **@b) = (1, @x); [$a, @b].raku.say;
Malformed parameter
at <tmp>:1
-…
xinming m: my @x = (1..5); my ($a, **@b) = (1, @x); [$a, @b].raku.say;
camelia [1, [[1, 2, 3, 4, 5],]]
xinming m: my @x = (1..5); my ($a, +@b) = (1, @x); [$a, @b].raku.say; 02:38
camelia [1, [[1, 2, 3, 4, 5],]]
xinming In this case, can we make *@b **b +@b the same behavior as function slurp array?
Or, it's just a bug
elcaro xinming: use binding to get function semantics, ie. my ($a, +@b) := (1, @x); 03:52
This is also usefule when assiging to arrays, eg. my (@a, @b) := (@x, @y)
without binding, @a gets everything 03:53
Geth doc: 26543f8aa5 | (Patrick Böker)++ (committed by Juan Julián Merelo Guervós) | 8 files
Replace rakudobrew with its successor rakubrew where it makes sense
06:27
elcaro Can Raku fatalise all warnings (à la Perl's `use warnings FATAL => 'all'`) 10:01
elcaro m: (1, 1, Nil, 1).grep(* == 1); say 'Done'# ie, make this autodie 10:02
camelia Use of Nil in numeric context
Done
in block <unit> at <tmp> line 1
lizmat m: CONTROL { .die }; (1, 1, Nil, 1).grep(* == 1) # elcaro 10:30
camelia Use of Nil in numeric context
in block <unit> at <tmp> line 1
10:31
El_Che weekly: rakudo-pkgs for the newly released Fedora 33 (next to added support for Ubuntu 20.10 last week): github.com/nxadm/rakudo-pkg/releas...2020.10-02
notable6 El_Che, Noted! (weekly)
elcaro lizmat++ 10:35
tobs but that would make all control exceptions fatal, including `return` and `take` 10:46
lizmat tobs: indeed... but $_ could be checked for specific exceptions 11:00
or you would make sure that the scope of the CONTROL block is very limited 11:01
m: CONTROL { .die when CX::Warn }; (1, 1, Nil, 1).grep(* == 1) # elcaro 11:03
camelia Use of Nil in numeric context
in block <unit> at <tmp> line 1
tobs lizmat++ 11:13
Geth doc: jjatria++ created pull request #3678:
Replace non-Spanish phrase
11:57
Geth doc: b40095cd54 | (José Joaquín Atria)++ (committed by Juan Julián Merelo Guervós) | resources/i18n/es/README.es.md
Replace non-Spanish phrase
12:57
Geth doc: coke self-assigned xt/check-signatures is silently changing rakudo checkout github.com/Raku/doc/issues/3679
d8c9bfb523 | Coke++ | xt/check-signatures.t

Move some docs from internal to user-facing>
Force the user to select a directory, warn the user in docs that we will be running git commands in their checkout.
s/repository/checkout/ for clarity in the error message, show error if var isn't set or if directory isn't there.
Fix directory check - previously would allow a file to be passed as RAKUDO_SRC
Closes #3679
13:06
hythm If I have a sub &my-sub, How can I pass something (could be a sub or a block of code,..) without executing it to my-sub? 13:15
moritz m: sub f() { say 42 }; sub my-sub(&callback) { say "I'm in my-sub"; callback() }; my-sub(&f) 13:16
camelia I'm in my-sub
42
hythm for example, I have this sub here github.com/hythm7/Retry/blob/main/...rakumod#L3 , that I can call with "retry { something() }", how can I make it work also with "retry something()"
moritz you cannot 13:17
pending macro work
(maybe you could with a custom language extension, but that doesn't seem worth it)
hythm hmm,so how does thing like "try" for example work?
moritz with special-casing inside the compiler 13:18
hythm got it, thanks moritz
linkable6 DOC#3679 [closed]: github.com/Raku/doc/issues/3679 [bug][xt] xt/check-signatures is silently changing rakudo checkout
Geth doc: 9042335cfc | Coke++ | xt/pws/words.pws
new word
[Coke] ls 13:24
Altreus . .. 13:25
perryprog [Coke] bin/ home/ lib/ proc/ sys/ var/ boot/ etc/ mnt/ root/ sbin/ opt/ run/ 13:27
Altreus why is [Coke] in his own root dir? 13:30
perryprog oh I just got your message Altreus 13:31
that was better than what I did
Altreus ^_^
wasn't morse code!
perryprog I certainly thought it was
Altreus everyone knows it's I before E 13:32
perryprog hahaha
Altreus I looked up what I actually put and was impressed and appalled to discover my brain had correctly stored that information
perryprog Brains are flippin' weird man. 13:33
[Coke] heh. 13:57
cpan-raku New module released to CPAN! Gcrypt (0.7) by 03CTILMES 18:51
Geth problem-solving: codesections assigned to AlexDaniel Issue Add codesections to «meta» reviewers github.com/Raku/problem-solving/issues/241
codesections++ created pull request #242: Add codesections to «meta» & «fallback» reviewers
20:29
moon-child is there any documentation on the design of moarvm MOP? I've found precious little, mostly in the form of slides from jnthn's talks 20:38
timotimo by moarvm mop you mean the 6model? 20:55
[Coke] github.com/Raku/nqp/tree/master/docs/6model 21:00
(that's nqp, not moarvm, but...)
(start with overview) 21:01
[Coke] nqp: nqp::say(nqp::nativecallsizeof(3)) 21:04
camelia 8
moon-child timotimo: yah 21:15
[Coke]: thanks 21:16
rheum101 p6 say π 21:26
p6 say π;
moon-child m: say π
camelia 3.141592653589793
rheum101 say π 21:27
m: say π
camelia 3.141592653589793
rheum101 ooo
quick question ... how can I check the module tag(s) from the use operator from within the used module? 21:29
m: say +π; 21:31
camelia 3.141592653589793
rheum101 maybe caller()? or look in namespace ? 21:38
Xliff \o 22:53