🦋 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.
SmokeMachine Could some one help me to make it a little bit better written, please? fco.github.io/Red/tutorials/relationship.html 00:02
Xliff jnthn++: Excellent talk. Looking forward to more progress 01:46
cpan-raku New module released to CPAN! Test::Async (0.0.14) by 03VRURG 01:47
softmoth Is there any way to save common command-line options (in a Signature?) and then slip them into several MAIN multis? Like my \common := :(:v(:$verbose), :d(:$doc), :n(:$nopager))); multi MAIN(|common #`(doesn't work), $query) { ... } 02:14
guifa softmoth: unfortunately, no. Maybe a work around could be to use dynamic variables and redispatching 02:27
ACtually, if you build up the method via metaprogramming, you might be able to, but taht’s super overkill
softmoth Sure, it's a lot uglier than copying the variables, probably. I am hoping to have $*USAGE be usable, so I'll just try to format the text to be easy to cut-n-paste any updates. 02:29
Thank you!
guifa That said, one little trick that I’ve learned wrt dynamics
You can define a dynamic in the signature, so it autopropogates, for lack of a better term
multi MAIN ($*first, $*second) { samewith :redispatched } 02:30
you could then have something like multi MAIN (:redispatched!) { $*first + $*second } 02:31
at least I think samewith will pass aong dynams
softmoth I guess ¡macros! will make it easy. :-D 02:42
Xliff softmoth: Hah! Wait until you see the macros... 03:18
Xliff m: for ^6 { say do given { when ! 3 { say 'Hi!' }; default { 'Bleah!' }; }; } 07:44
camelia 5===SORRY!5===
Expression needs parens to avoid gobbling block
at <tmp>:1
------> 033 { say 'Hi!' }; default { 'Bleah!' }; }7⏏5; }
Missing block (apparently claimed by expression)
at <tmp>:1
------> 033 { say 'Hi!' }; default { …
Xliff m: for ^6 { say do { when ! 3 { say 'Hi!' }; default { 'Bleah!' }; }; }
camelia Bleah!
Bleah!
Bleah!
Bleah!
Bleah!
Bleah!
Xliff m: for ^6 { say do { when none(3) { say 'Hi!' }; default { 'Bleah!' }; }; } 07:45
camelia Hi!
True
Hi!
True
Hi!
True
Bleah!
Hi!
True
Hi!
True
Xliff m: for ^6 { say do { when none(3) { 'Hi!' }; default { 'Bleah!' }; }; }
camelia Hi!
Hi!
Hi!
Bleah!
Hi!
Hi!
ensamvarg p6; say "Hello world!"; 08:13
p6: say "Hello world!";
camelia Hello world!
ensamvarg p6: say "Rakudo star!"; 08:19
camelia Rakudo star!
antoniogamiz o/ 10:10
tbrowder antoniogamiz: hello 13:42
tellable6 tbrowder, I'll pass your message to antoniogamiz
tbrowder anyone here use jonathon stowe's fastcgi? 13:43
tellable6 2020-06-09T14:34:22Z #raku <melezhik> tbrowder - I see, NP.
fling Hello. 14:37
moritz Hi fling 14:38
cpan-raku New module released to CPAN! App::AizuOnlineJudge (0.0.4) by 03TITSUKI 15:56
Geth ecosystem: f3e0715386 | (Richard Hainsworth)++ (committed using GitHub Web editor) | META.list
Adding Pod::From::Cache to the Ecosystem

Test::META test passing with :relaxed-name
16:27
ecosystem: 5c56c62278 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #511 from Raku/finanalyst-patch-2

Adding Pod::From::Cache to the Ecosystem All green now. Thanks!
cpan-raku New module released to CPAN! Archive::SimpleZip (0.4.0) by 03PMQS 17:02
JJMerelo Any idea of how you can make the Comma parallel monitor show more than 16 seconds? 17:52
tellable6 2020-06-26T17:13:17Z #raku <melezhik> JJMerelo I'd like to hear your thoughts on my last update on external dependencies checks, is it what you want?
JJMerelo .tell melezhik I'm swamped now (with the book and other things). Let me get back to you later.
tellable6 JJMerelo, I'll pass your message to melezhik
Geth doc: finanalyst++ created pull request #3499:
Make existing info on contributing more visible
17:56
Xliff Annd.... GObject Introspection has now been added to my list of projects. 18:09
SmokeMachine JJMerelo: one question, are you going to change perl6 for raku on your book? 19:16
JJMerelo "Going to" is the key word here
But I don't really know when. I guess the current print run will have to be substantially sold before that happens. 19:17
The book finished production pretty much at the same time the name change was being decided.
SmokeMachine got it 19:19
SmokeMachine I'm trying to add more documentation to Red. Could some one take a look and critic to me, please? (and if possible, help me to write some more...) fco.github.io/Red/ 19:23
cpan-raku New module released to CPAN! LibUSB (0.0.1) by 03GARLANDG 21:01
hoelzro softmoth: thanks - I'm not really actively contributing to Raku these days, but I *believe* the fix should be as simple as updating the sample files in the repo used to build the Bayesian model 21:28
softmoth Ah, thanks for that pointer. I'll try to get around to it soon.
hoelzro and if they haven't been updated in 6 years for Raku, I'm sure refreshing them would be immensely helpful =) 21:29
no problem! the trick will be figuring out *which* sample code to submit
softmoth Indeed! ☺
Geth doc: 087533e1ba | (Richard Hainsworth)++ (committed using GitHub Web editor) | 217 files
Merge pull request #1 from Raku/master

merge upstream
21:42
doc: acbebd4e68 | finanalyst++ | doc/Language/about.pod6
Move about to 'beginning' and make subtitle meaningful
linkable6 Link: docs.raku.org/language/about
Geth doc: 09616a55b4 | (Richard Hainsworth)++ (committed using GitHub Web editor) | doc/Language/about.pod6
Merge pull request #3499 from finanalyst/master

Make existing info on contributing more visible
stoned75 anyone working on raku/doc ? 21:47
it seems to me that pod::to:html 0.7 breaks raku/doc build
[Coke] it's being maintained; can you open a github ticket showing the issue? 22:44
Doc_Holliwould how do I make a coercable subset? 22:47
m: subset Zero of Int() where * == 0; 22:48
camelia ( no output )
Doc_Holliwould m: subset Zero of Int() where * == 0; my Zero $z = 0;
camelia Type check failed in assignment to $z; expected Zero but got Int (0)
in block <unit> at <tmp> line 1
Doc_Holliwould m: subset Zero of Int() where * == 0; my Zero $z = "0";
camelia Type check failed in assignment to $z; expected Zero but got Str ("0")
in block <unit> at <tmp> line 1
Doc_Holliwould m: subset Zero of Int where * == 0; my Zero $z = 0;
camelia ( no output )
Doc_Holliwould m: subset Zero of Int where * == 0; sub foo( Zero() $z ) { $z.say }; foo( 0 ); 22:50
camelia 0
Doc_Holliwould m: subset Zero of Int where * == 0; sub foo( Zero() $z ) { $z.say }; foo( "0" );
camelia No such method 'Zero' for invocant of type 'Str'. Did you mean 'perl'?
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1