🦋 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:13
xinming left,
xinming joined
00:15
ctilmes left
00:46
Doc_Holliwood left,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:52
Manifest0 left
00:54
Manifest0 joined
00:58
caterfxo joined
01:03
konvertex left
01:06
ctilmes joined
01:09
ctilmes left
01:10
ctilmes joined
|
|||
autarch | Hi all. I'm not sure who to ask about this so I'll ask here. I've filed for a trademark on "Raku" in the US on behalf of TPF. There were a couple objections raised by the trademark office (see tsdr.uspto.gov/documentviewer?case...p;tdrlink= for the letter). One of the issues is that the raku | 01:46 | |
website does not show the "raku software" available for download, only "rakudo". So basically we need a download link or button that says "Raku" somewhere. | |||
The other objection, BTW, is about our translation of Raku, but that's easily dealt with by taking a screenshot of Google Translate. | 01:49 | ||
vrurg | autarch: would it be ok for you to open an issue in github.com/Raku/problem-solving/issues ? | 01:52 | |
autarch: It's not that easy to gather all involved parties at one time on IRC. | 01:54 | ||
autarch | Sure, no problem | ||
vrurg | autarch: Thank you! | ||
01:55
Redfoxmoon left,
Redfoxmoon joined
|
|||
Geth | ¦ problem-solving: autarch assigned to rba Issue Need a "Raku" download button/link for US Patent on Raku github.com/Raku/problem-solving/issues/193 | 01:55 | |
autarch | There you go | 01:56 | |
vrurg | thanks! | 01:57 | |
02:08
aborazmeh left
02:11
Redfoxmoon left,
Redfoxmoon joined
02:38
Cabanossi left
02:43
Cabanossi joined
02:51
ctilmes left
02:53
gabiruh left,
gabiruh joined
03:26
_jrjsmrtn joined
03:27
__jrjsmrtn__ left
03:29
aborazmeh joined,
aborazmeh left,
aborazmeh joined
03:42
farcas1982regreg joined
03:43
xinming left
03:44
xinming joined
03:48
brtastic joined
03:58
Cabanossi left
04:04
Cabanossi joined
04:24
aborazmeh left
04:25
HarmtH left
04:27
guifa2 joined
05:06
rindolf joined
05:11
poohman_1 joined
05:37
xelxebar left
05:38
xelxebar joined
05:49
poohman_1 left
06:02
sjoshi joined
06:06
sjoshi left,
sjoshi joined
06:07
sjm_uk joined
06:20
sjoshi left
07:01
dd070 joined
07:09
dd070 left
07:13
dd070 joined,
Doc_Holliwood joined
07:15
Sgeo left
07:18
Sgeo joined,
gnufr33dom left
07:32
CIAvash joined
07:33
jjmerelo joined
07:39
chloekek joined
07:50
dd070 left
07:51
dd070 joined,
dd070 left
07:58
xinming left
08:00
xinming joined
08:08
andrzejku joined
08:09
andrzejku left
08:10
konvertex joined
08:20
sena_kun joined
|
|||
Geth | ¦ problem-solving: AlexDaniel unassigned from rba Issue Need a "Raku" download button/link for US Trademark on Raku github.com/Raku/problem-solving/issues/193 | 08:21 | |
¦ problem-solving: AlexDaniel assigned to jnthn Issue Need a "Raku" download button/link for US Trademark on Raku github.com/Raku/problem-solving/issues/193 | |||
doc: 8f2fff97ba | (JJ Merelo)++ | doc/Type/Failure.pod6 Minor corrections ref #2632 |
08:36 | ||
doc: 75f1dc5b46 | (JJ Merelo)++ | doc/Type/Failure.pod6 Copies definition of `fail` for #3382 Deletes the method part, leaves the rest the same. |
|||
linkable6 | Link: docs.raku.org/type/Failure | ||
Geth | doc: 93d0fd105f | (JJ Merelo)++ | doc/Type/Exception.pod6 Documents Exception.fail closes #3383 |
||
linkable6 | DOC#2632 [open]: github.com/Raku/doc/issues/2632 [Hacktoberfest][RFE][big][docs][good first issue][help wanted][new][⚠ Top Priority ⚠] Checklist for 6.d | ||
linkable6 | DOC#3382 [open]: github.com/Raku/doc/issues/3382 [docs] Improve documentation for routine fail | ||
Link: docs.raku.org/type/Exception | |||
DOC#3383 [closed]: github.com/Raku/doc/issues/3383 [docs] Document Exception.fail | |||
08:39
pecastro joined
08:40
rindolf left
08:45
rindolf joined
08:47
sour joined
|
|||
Geth | doc: eb399bea7c | (Christian Bartolomäus)++ | doc/Language/list.pod6 Use consistent indentation (for one example) |
08:48 | |
linkable6 | Link: docs.raku.org/language/list | ||
08:59
jjmerelo left
09:05
sjm_uk left
09:09
poohman joined
09:10
vmv joined
09:15
sjm_uk joined
09:17
jjmerelo joined
09:31
Sgeo left
09:34
epony left
09:37
Sgeo joined
09:38
poohman_1 joined
09:42
poohman left
09:45
poohman_1 left
09:48
rindolf left
09:54
brtastic left
10:00
Sgeo left
10:02
rindolf joined
10:15
epony joined
10:16
Altai-man_ joined
10:18
sena_kun left
|
|||
sour | what do people generally use for working with raku, besides comma? | 10:21 | |
10:21
mtj_ joined
|
|||
moritz | gvim | 10:22 | |
sour | nice, what plugins do you use? | 10:24 | |
moritz | LanguageTool and TabNine | 10:33 | |
10:39
sour left
10:50
xps joined
10:57
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
cpan-raku | New module released to CPAN! Gnome::GObject (0.16.6) by 03MARTIMM | 10:57 | |
New module released to CPAN! LibXML (0.3.1) by 03WARRINGD | 10:58 | ||
New module released to CPAN! Test::Async (0.0.7) by 03VRURG | |||
New module released to CPAN! Trait::Traced (0.4.0) by 03KAIEPI | |||
New module released to CPAN! Trait::Traced (0.4.1) by 03KAIEPI | |||
New module released to CPAN! Test::Async (0.0.9) by 03VRURG | |||
New module released to CPAN! Test::Async (0.0.8) by 03VRURG | |||
New module released to CPAN! ReadWriteLock (0.1) by 03ROBERTLE | |||
New module released to CPAN! ReadWriteLock (0.2) by 03ROBERTLE | |||
New module released to CPAN! Cache::Async (0.2) by 03ROBERTLE | |||
New module released to CPAN! Gnome::Gtk3 (0.28.2) by 03MARTIMM | |||
New module released to CPAN! Trait::Traced (0.4.2) by 03KAIEPI | |||
New module released to CPAN! Algorithm::ZhangShasha (0.0.2) by 03TITSUKI | |||
New module released to CPAN! Algorithm::ZhangShasha (0.0.1) by 03TITSUKI | |||
New module released to CPAN! Algorithm::ZhangShasha (0.0.3) by 03TITSUKI | |||
New module released to CPAN! Test::Async (0.0.10) by 03VRURG | 10:59 | ||
New module released to CPAN! Shelve6 (0.1) by 03ROBERTLE | |||
New module released to CPAN! Template::Mustache (1.1.4) by 03SOFTMOTH | |||
New module released to CPAN! Matrix::Client (0.5.2) by 03MATIASL | |||
New module released to CPAN! Util::Uuencode (0.0.1) by 03JSTOWE | |||
New module released to CPAN! Gnome::Gtk3 (0.28.3) by 03MARTIMM | |||
New module released to CPAN! Async::Workers (0.1.0) by 03VRURG | |||
New module released to CPAN! TCP::LowLevel (0.0.5) by 03JMASLAK | |||
New module released to CPAN! Async::Workers (0.1.1) by 03VRURG | |||
New module released to CPAN! Net::BGP (0.5.0) by 03JMASLAK | |||
New module released to CPAN! Rake (0.0.1) by 03ELIZABETH | 11:00 | ||
xps | The suggested syntax to be used for declaring that a function agument is a function of a specific type is not very easy to find in the docs. | 11:04 | |
A tiny tiny example on the functions page suggests sub f(&c){ c() * 2 }; under the section argumens | |||
But you you have to make sure you don't blink or you might miss it | 11:05 | ||
But now I'm trying to figure out how to make anonymous functions work well with functions that type their function valued arguments like that | |||
I can write a sub with the correct signature and pass that function and all is good | |||
But I can't seem to find a way to write a lambda that "gives it the right type" | 11:06 | ||
Altai-man_ | m: sub a(&foo) { say foo(42); }; a(-> $x { $x * 2 }) | 11:08 | |
camelia | 84 | ||
Altai-man_ | xps, like ^? | ||
xps | privatebin.net/?a116d18c37fb2e66#A...ft6um1qR5p | ||
It works if I don't type the functions, if I leave the function argument "dynamic" then it's all good | 11:09 | ||
Altai-man_ | m: sub foo (&g:(Int --> Int)) { g(42) }; say foo(-> Int $i --> Int { $i }); | 11:11 | |
camelia | 42 | ||
Altai-man_ | m: sub foo (&g:(Int --> Int)) { g(42) }; say foo(-> Int $i, --> Int { $i }); | ||
camelia | 42 | ||
xps | Also correction, it was on the signature page this line was given that shows the syntax for typed function arguments: sub f(&c:(Int)) { } -- under signature literals section | 11:12 | |
Altai-man_: Now that syntax is very confusing I must say | 11:14 | ||
Altai-man_ | xps, the difference is that you don't need parentheses for lambda params, I think. Can you please create a ticket at github.com/Raku/doc/issues describing your opinion on this particular docs issue (or just share a link to this conversation)? | ||
xps | It does not make immediate sense to me that I would call foo with what looks like two arguments | ||
11:15
upupbb-user2 joined
|
|||
Altai-man_ | xps, the foo definition is the same, it's the lambda. | 11:15 | |
xps | Ok I could consider doing that when I've ironed out how these things actually work and understand it | ||
Yes I get that foo is the same, it's the calling convention that looks confusing to me | |||
cpan-raku | New module released to CPAN! Rake (0.0.2) by 03ELIZABETH | ||
Altai-man_ | m: -> Int $a, Int $b --> Int { say $a + $b } | ||
camelia | ( no output ) | ||
Altai-man_ | It's a matter of preference, maybe. Raku does not favor parens and they can be omitted in a lot of places. E.g. `if True {}` instead of `if (True) {}` or `foo;` instead of obligatory `foo();`. | 11:16 | |
xps | I do get the syntax now, but boy is it ambiguous to me | ||
Altai-man_ | xps, ambiguous with that else? | 11:17 | |
xps | Provided this would be written out in the arguments to a function call the comma in this lambda trips me up while reading | ||
But this is all familiarity I understand | |||
Altai-man_: Thanks for the help | 11:23 | ||
Altai-man_ | xps, you are welcome. Also, another way is just not type everything, but probably that's not the way you prefer it. Also, should I create the doc ticket or you'll go for it? | 11:27 | |
xps | I very much do prefer to leverage strict typing as much as I can, I like that raku can do both. If you want to go ahead and make a simple ticket linking to this converstation that would be excellent, otherwise I might try later to make on | 11:29 | |
Altai-man_ | xps, I'll make one, thanks for reporting about it. | 11:30 | |
11:44
chloekek left
11:45
chloekek joined
11:46
brtastic joined,
epony left
11:47
chloekek left
11:48
chloekek joined
11:56
upupbb-user2 left
12:00
epony joined
12:07
MasterDuke left
12:17
sena_kun joined
12:18
jjmerelo left,
Altai-man_ left
12:24
ctilmes joined
12:33
MasterDuke joined
12:44
vmv left
12:59
Doc_Holliwood left
13:20
xps left
13:32
stoned75 joined
13:34
ctilmes left
13:35
ctilmes joined
13:39
aborazmeh joined,
stoned75 left,
aborazmeh left,
aborazmeh joined
13:49
sjm_uk left
13:54
discord6 joined,
discord6 left,
discord6 joined
14:04
sjm_uk joined
14:07
poohman joined
14:10
stoned75 joined
14:11
poohman_1 joined
14:15
poohman left
14:16
Altai-man_ joined
14:18
sena_kun left
14:33
ctilmes left
|
|||
Geth | doc/Mu-perl-to-raku: 2103d73d82 | (Stoned Elipot)++ | doc/Type/Mu.pod6 Mention .raku method instead of .perl method ref #3309 |
14:46 | |
doc: stoned++ created pull request #3385: Mention .raku method instead of .perl method |
|||
14:47
mowcat joined
14:53
gnufr33dom joined
|
|||
Geth | doc/Mu-raku-descr: dd8d05b18d | (Stoned Elipot)++ | doc/Type/Mu.pod6 Clarify behavior of raku method on type objects |
15:00 | |
doc: stoned++ created pull request #3386: Clarify behavior of raku method on type objects |
15:01 | ||
15:03
xinming left,
xinming joined
|
|||
Geth | doc/perl-method-to-raku: 9c69a3fd72 | (Stoned Elipot)++ | 3 files Mention or use .raku method instead of .perl ref #3309 |
15:06 | |
doc: stoned++ created pull request #3387: Mention or use .raku method instead of .perl |
15:07 | ||
cpan-raku | New module released to CPAN! Net::BGP (0.5.1) by 03JMASLAK | 15:28 | |
15:29
cpan-raku left,
cpan-raku joined,
cpan-raku left,
cpan-raku joined
15:33
stoned75 left
15:39
jjmerelo joined
|
|||
Geth | doc: 2103d73d82 | (Stoned Elipot)++ | doc/Type/Mu.pod6 Mention .raku method instead of .perl method ref #3309 |
15:42 | |
doc: 16d49fe279 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Mu.pod6 Merge pull request #3385 from Raku/Mu-perl-to-raku Mention .raku method instead of .perl method |
|||
linkable6 | Link: docs.raku.org/type/Mu | ||
linkable6 | DOC#3309 [open]: github.com/Raku/doc/issues/3309 [docs][update] Change .perl to .raku in examples | ||
15:45
jjmerelo left
15:46
kent\n joined
15:48
jjmerelo joined
15:50
chloekek left
|
|||
lizmat | weekly: blogs.perl.org/users/laurent_r/2020...-sums.html | 15:50 | |
notable6 | lizmat, Noted! (weekly) | ||
15:52
AlexDaniel left
16:02
lichtkind joined
16:03
Doc_Holliwood joined
16:07
xinming left,
xinming joined
16:16
sena_kun joined
16:18
xinming_ joined,
Altai-man_ left
16:21
xinming left,
aborazmeh left
16:43
chloekek joined
16:54
poohman_1 left
16:57
ctilmes joined
16:58
Doc_Holliwould joined
|
|||
guifa2 | there's no way for roles to access inner subs from the classes they're mixed into without the subs being our scoped, right? | 17:01 | |
17:01
Doc_Holliwood left
17:04
poohman_1 joined
|
|||
El_Che | weekly: new v2020.05.1 packages and compiled relocatable tar.gz files: github.com/nxadm/rakudo-pkg/ | 17:06 | |
notable6 | El_Che, Noted! (weekly) | ||
timotimo | guifa2: that's correct, subs are stirctly lexical scoped | 17:08 | |
guifa2 | Ugh. Rakudo core making slangs more difficult ;-) | ||
timotimo | toss the sub into Rakudo::Internals :D | ||
guifa2 | Ha. Thankfully I can still copy and paste | 17:09 | |
But at least I finally got the slang to recognize the binex declarator, so I might have this looking closer to standard regex sooner than I thought | 17:10 | ||
cpan-raku | New module released to CPAN! Net::BGP (0.6.0) by 03JMASLAK | ||
timotimo | very good | 17:12 | |
guifa2 | Is there a way that I can get output during the comp phase? | ||
timotimo | "get" output? | ||
guifa2 | Ops like say/spurt/print don't seem to do anything | 17:13 | |
17:13
daxim left
|
|||
timotimo | that sounds odd. you are in p6 code, yes? you want to output something while the script using your module is being imported, or something similar? | 17:15 | |
maybe you're running into precompilation making your code only run once, and i think output during precomp is potentially nommed by the process starting the precomp | 17:16 | ||
since it's using stdout/stderr to communicate anyway | |||
guifa2 | In the slang grammar, I'll put in a code block like { say "can you hear me now?" } . When that token is used, no output is presented. | 17:18 | |
but maybe it's just rerouting output somewhere else. I remembering running into this once with zef but I can't remember if I ever figured out anything for it | 17:19 | ||
timotimo | you can strace -f to get stuff from all processes spawned from the one you're stracing, and maybe -e write or so | ||
then in the millions of lines of output you'll hopefully see your debug output | |||
otherwise, i'd recommend opening a temp file somewhere and writing into that | |||
guifa2 | temp file sounds better :-) | 17:20 | |
Most of the trouble right now is just getting my head around all of the internals on how regexen get installed, as protos, multis, etc, and introspection can be helpful | 17:21 | ||
timotimo | right | ||
have you ever tried the debugserver? | 17:22 | ||
it's not perfect and the commandline interface a little clunky, but it could potentially help | |||
guifa2 | Not yet | ||
Although I actually have a fair amount of time no to play around with those tools | 17:23 | ||
guifa2 finally finished the spring semester. good f***ing riddance lol | |||
timotimo | :+1: | ||
17:26
ctilmes left
17:28
ctilmes joined
17:36
aborazmeh joined,
aborazmeh left,
aborazmeh joined
17:53
poohman_1 left
17:57
lembark joined
18:04
jjmerelo left
18:10
brtastic left
18:16
Altai-man_ joined
|
|||
guifa2 | arg, dangit | 18:17 | |
there's a lexically scoped variable that there's no way I can access even if I copy and paste in because the core subs won't modify it | 18:18 | ||
18:18
sena_kun left
|
|||
lizmat | guifa2: which one ? | 18:18 | |
18:18
stoned75 joined
|
|||
timotimo | then give access through a method until you can find a better way, just to be able to experiment more? | 18:19 | |
18:19
ctilmes left
|
|||
guifa2 | $use_vm_binder | 18:19 | |
lizmat: would it be safe to just use false for it for now? | |||
hrm, actually maybe it's just being set outside to avoid multiple allocations? | 18:20 | ||
stoned75 | commit: release Date.new(2000,1,1).perl | 18:22 | |
committable6 | stoned75, ¦release: «Cannot find this revision (did you mean “release”?)» | ||
stoned75 | commit: releases Date.new(2000,1,1).perl | ||
18:22
discord6 left
|
|||
committable6 | stoned75, ¦releases (43 commits): «» | 18:22 | |
18:22
raku-bridge joined,
raku-bridge left,
raku-bridge joined
|
|||
guifa2 | actually, yeah that's what it seems like. So I can safely use it in the slang | 18:23 | |
18:23
aborazmeh left
|
|||
stoned75 | commit: release Date.new(2000,1,1).perl.say | 18:24 | |
committable6 | stoned75, ¦release: «Cannot find this revision (did you mean “release”?)» | ||
stoned75 | commit: releases Date.new(2000,1,1).perl.say | ||
committable6 | stoned75, ¦releases (43 commits): «Date.new(2000,1,1)» | ||
stoned75 | 6c: Date.new(2000,1,1).perl.say | 18:26 | |
committable6 | stoned75, ¦6c (43 commits): «Date.new(2000,1,1)» | ||
stoned75 | commit: releases Date.new(2000,1,1).raku.say | 18:27 | |
committable6 | stoned75, gist.github.com/b85742854a1de700eb...80575c0630 | ||
18:35
vmv joined
18:37
Sgeo joined
|
|||
stoned75 | 6c: Date.new(2000,1,1).raku.say | 18:37 | |
committable6 | stoned75, gist.github.com/9fbf1618226560b39d...d7f45aba38 | 18:38 | |
lizmat | 6c: Date.new(2000,1,1).perl.say | 18:39 | |
committable6 | lizmat, ¦6c (43 commits): «Date.new(2000,1,1)» | ||
guifa2 | There's a line that returns NQPMu. How can I access that in regular Raku? use core; or use core::NQPMu doesn't seem to find it | 18:44 | |
18:49
vmv left
|
|||
timotimo | i'm not sure if you can actually | 18:50 | |
but it should respond to annul check | |||
guifa | so "return Nil"? Or should I go with "return Mu" ? I'm still not quite yet to the point of being able to get things to compile. Every time I add a new lexical sub three more pop up. Rakuhydra | 18:54 | |
18:58
poohman_1 joined
|
|||
timotimo | i would recommend Mu | 19:04 | |
stoned75 | commit: releases say ($*PERL.version, $*PERL.compiler.version) | 19:06 | |
committable6 | stoned75, gist.github.com/1cc8f8fcca98c188bb...59ebbdacd3 | ||
stoned75 | commit: releases say ($*PERL.version, $*PERL.compiler.version, Date.new(2001,1,1).perl) | 19:09 | |
committable6 | stoned75, gist.github.com/7ec244c0ed36fdd9c8...07268ad45d | ||
19:16
farcas1982regreg left
19:18
molaf joined
19:20
molaf_ joined
19:21
Sgeo left
19:23
molaf left
19:32
mowcat left
19:38
cpage left,
sjm_uk left
19:40
cpage joined
19:43
dmc00 joined
20:06
aborazmeh joined,
aborazmeh left,
aborazmeh joined
20:07
londoed joined,
oneeggeach joined
20:08
sour joined
|
|||
sour | hi, I looked at the rakudo star 2020.01 release (rakudo.org/post/announce-rakudo-st...-2020.01), and it linked to a page describing the implemented and WIP features of raku on rakudo, but it had a link that gives 404: raku.org/compilers/features . Does anyone know what happened with this? | 20:11 | |
20:12
poohman_1 left
20:17
sena_kun joined
20:18
Altai-man_ left
20:21
gnufr33dom left
20:24
brtastic joined
20:29
Sgeo joined
20:32
Sgeo left
20:44
stoned75 left
20:45
rindolf left,
stoned75 joined
|
|||
timotimo | sour: that page was not well maintained, and had both outdated and misleading info | 20:46 | |
sour | hm, I see, what would be the best sources to look at? | 20:47 | |
timotimo | github.com/perl6/features | 20:48 | |
20:54
oneeggeach left
21:04
stoned75 left
21:16
stoned75_ joined
21:22
pecastro left
21:27
pecastro joined
21:28
sour left
22:03
brtastic left
|
|||
cpan-raku | New module released to CPAN! Net::BGP (0.7.0) by 03JMASLAK | 22:07 | |
22:16
Altai-man_ joined
22:18
sena_kun left
22:31
pecastro left
22:45
brtastic joined
22:54
Kaiepi joined
22:55
aborazmeh left
22:56
lichtkind left
22:59
chloekek left
23:01
Altai-man_ left
23:44
ctilmes joined
23:52
tejr left
23:58
raku-bridge1 joined
|