|
17:26
librasteve_ left
|
|||
| disbot4 | <comborico> A little blunder in the Raku Guide (raku.guide), WHEN is used under section on GIVEN operator. | 17:58 | |
| <comborico> And WHEN is never discussed. | |||
| lizmat | good catch! please make an issue at github.com/hankache/rakuguide :-) | 18:16 | |
| disbot4 | <comborico> Thank you | 18:46 | |
| lizmat | in case you didn't realize: when foo is short for if $_ ~~ foo | 18:51 | |
| disbot4 | <comborico> Nope, didnt' realize that. The docs should have said that at the beginning. I'm learning about DEFAULT to figure out WHEN. I will add your statement to my notes! | 18:55 | |
| lizmat | m: $_ = 42; when 42 { say "foo" } | 18:57 | |
| camelia | foo | ||
| disbot4 | <comborico> Ten years ago, I was critical of Raku's large amount of operators. But I recently saw the benefit of it. | 18:58 | |
| <comborico> Since I'm feeling a bit snarky, I'll just come out and say it: I think the ||s should have taken place of // in regex. | 19:00 | ||
| lizmat | actually, when is a bit more than that, especially wrt to default, but it's a start | 19:01 | |
| disbot4 | <comborico> But, who am I? I can't imagine decades of using and then changing it. | ||
| <comborico> Yeah, it helps | |||
| <comborico> I don't think LOOP needed to be in Raku Guide. Doesn't seem useful at all. | 19:11 | ||
| <comborico> But I do find Raku Guide to be the most accessible of all the documents that I've found so far. | 19:40 | ||
| <comborico> Not for a spanking new programmer, but the initiated. | |||
|
23:03
Manifest0 left
|
|||