🦋 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 | |
00:16
pecastro left
00:19
andinus left
00:29
lichtkind left
|
|||
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 | |||
00:46
skids left
01:07
pecastro joined
01:43
pecastro left,
pecastro joined
01:59
SmokeMachine left
02:01
SmokeMachine joined
02:18
molaf left
02:24
pecastro left
02:30
molaf joined
02:33
aborazmeh left
|
|||
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 | |||
02:52
mowcat left
03:15
Chi1thangoo left
03:28
pecastro joined
03:35
pecastro left
03:37
pecastro joined
|
|||
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 | ||
04:01
pecastro left
04:08
aluaces left
04:22
Kaiepi joined
04:32
BenGoldberg left
05:04
aluaces joined
05:17
tejr_ joined,
tejr left,
tejr_ is now known as tejr
05:38
MasterDuke left
05:53
bocaneri joined
06:01
bocaneri left,
bocaneri joined
06:03
bocaneri left,
bocaneri joined
06:04
bocaneri left
|
|||
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 | |
06:30
Kaiepi left
06:31
Kaiepi joined
06:33
Kaiepi left,
Sgeo left
06:35
vgrato_ left
06:36
holli__ joined
06:38
Util left
06:45
ensamvarg195 left
06:50
Kaiepi joined
07:12
abraxxa left
07:14
abraxxa joined,
parabolize left
07:23
BenGoldberg joined
07:45
wamba joined
07:48
ensamvarg195 joined
07:52
frost-lab joined
07:53
tejr left,
tejr joined
07:57
BenGoldberg left
08:01
ufobat joined
08:20
reach_satori left
08:38
rindolf joined
08:46
reach_satori joined
08:48
sjm_uk joined
08:54
reach_satori left
08:59
pecastro joined
09:59
sourceable6 left,
coverable6 left,
benchable6 left,
nativecallable6 left,
committable6 left,
evalable6 left,
tellable6 left,
unicodable6 left,
statisfiable6 left,
shareable6 left,
quotable6 left,
releasable6 left,
squashable6 left,
bisectable6 left,
linkable6 left,
bloatable6 left,
greppable6 left,
notable6 left,
linkable6 joined
10:00
bisectable6 joined,
cpan-raku left,
releasable6 joined,
tellable6 joined,
bloatable6 joined,
squashable6 joined
10:01
quotable6 joined,
coverable6 joined
|
|||
elcaro | Can Raku fatalise all warnings (à la Perl's `use warnings FATAL => 'all'`) | 10:01 | |
10:01
notable6 joined,
cpan-raku joined,
cpan-raku left,
cpan-raku joined
10:02
greppable6 joined,
unicodable6 joined,
evalable6 joined,
benchable6 joined
|
|||
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 |
||
10:02
committable6 joined,
sourceable6 joined,
nativecallable6 joined,
shareable6 joined,
statisfiable6 joined
|
|||
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 | |
10:35
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
tobs | but that would make all control exceptions fatal, including `return` and `take` | 10:46 | |
10:48
BenGoldberg joined
10:52
wamba left
10:54
wamba joined
|
|||
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 |
||
11:10
telex left,
telex joined
|
|||
tobs | lizmat++ | 11:13 | |
11:22
BenGoldberg left
11:30
pecastro left
11:36
pecastro joined
11:42
pecastro left
11:48
pecastro joined,
aluaces left
11:54
Chi1thangoo joined
|
|||
Geth | doc: jjatria++ created pull request #3678: Replace non-Spanish phrase |
11:57 | |
12:16
pecastro left
12:21
pecastro joined
12:28
frost-lab left
12:49
holli__ left
12:54
grep0r joined,
grep0r left
12:57
tejr left
|
|||
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 | |
12:57
abraxxa left
12:59
tejr joined
13:03
abraxxa joined
|
|||
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 | |
13:09
kensanata joined
13:10
hythm joined
|
|||
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 | ||
13:21
vrurg left
|
|||
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 |
||
13:24
aluaces joined
|
|||
[Coke] | ls | 13:24 | |
Altreus | . .. | 13:25 | |
13:26
vrurg joined
|
|||
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 | |
13:50
domidumont joined
13:56
hythm left
|
|||
[Coke] | heh. | 13:57 | |
13:59
wamba left,
wamba joined
14:13
BenGoldberg joined
14:39
kensanata left
14:46
parabolize joined
14:48
BenGoldberg left
14:49
Sgeo joined
14:50
aborazmeh left
15:02
lucasb joined
15:04
vrurg left
15:27
vrurg joined
15:33
aluaces left
15:38
aluaces joined
15:42
skids joined
16:12
sno left
16:14
sno joined
16:16
jmerelo joined
16:26
aborazmeh joined,
aborazmeh left,
aborazmeh joined
16:30
Sgeo left
16:32
mid_home left
16:33
Sgeo joined
16:39
vgrato_ joined
16:45
mowcat joined
16:48
Sgeo left
16:51
Sgeo joined
16:54
jmac left
16:55
jmac joined
16:59
aborazmeh left
17:15
pecastro left
17:22
aborazmeh joined,
aborazmeh left,
aborazmeh joined
17:30
wamba left
17:38
mid_home joined,
BenGoldberg joined
17:43
gordonfish left
17:47
wamba joined
17:52
aluaces left
18:05
domidumont left
18:07
holli__ joined
18:13
BenGoldberg left,
natrys joined
18:15
pecastro joined
18:16
vgrato_ left
18:18
TreyHarris left
18:20
kensanata joined
18:21
finanalyst joined,
finanalyst left
18:22
aluaces joined
18:23
kensanata left,
finanalyst joined
18:28
finanalyst left,
gordonfish joined
18:36
TreyHarris joined
18:41
aborazmeh left
|
|||
cpan-raku | New module released to CPAN! Gcrypt (0.7) by 03CTILMES | 18:51 | |
18:51
pecastro left
19:01
Black_Ribbon joined
19:11
moony left
19:15
moony joined
19:35
ccamel left
19:39
ape666 joined
19:45
aborazmeh joined,
aborazmeh left,
aborazmeh joined
20:01
jmerelo left
20:14
wamba left
20:16
finsternis left
20:20
natrys left
20:22
wamba joined
20:28
apathor joined
|
|||
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 | |
20:32
bigdata joined
20:34
bigdata left
|
|||
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 | |
20:46
sjm_uk left
|
|||
timotimo | by moarvm mop you mean the 6model? | 20:55 | |
20:57
codesections joined
20:58
lichtkind joined
|
|||
[Coke] | github.com/Raku/nqp/tree/master/docs/6model | 21:00 | |
(that's nqp, not moarvm, but...) | |||
(start with overview) | 21:01 | ||
21:04
BenGoldberg joined
|
|||
[Coke] | nqp: nqp::say(nqp::nativecallsizeof(3)) | 21:04 | |
camelia | 8 | ||
21:08
ufobat left
21:11
pecastro joined
21:13
camelCaser joined
|
|||
moon-child | timotimo: yah | 21:15 | |
[Coke]: thanks | 21:16 | ||
21:25
rheum101 joined
|
|||
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 | ||
21:38
BenGoldberg left
|
|||
rheum101 | maybe caller()? or look in namespace ? | 21:38 | |
21:41
rindolf left
22:00
ape666 left
22:01
aborazmeh left
22:02
lichtkind left
22:05
dudz left
22:40
ape666 joined
22:41
ape666 left
|
|||
22:53
Xliff joined
|
|||
Xliff | \o | 22:53 | |
22:56
mowcat left
23:01
_jrjsmrtn joined
23:03
__jrjsmrtn__ left
23:25
BenGoldberg joined
23:42
cpan-raku left
23:43
cpan-raku joined,
cpan-raku left,
cpan-raku joined
23:44
Celelibi left
23:51
pecastro left
23:56
Celelibi joined
|