Re: junctions with given/when

2021-11-04 Thread yary
and I realize that what I just typed doesn't help a whole lot, what if you have a junction of things and you want to tell if any/one/all/none smartmatch the same thing... OK.. -y On Thu, Nov 4, 2021 at 6:38 PM yary wrote: > Something that helps me reason about this is thinking of how regular >

Re: junctions with given/when

2021-11-04 Thread yary
Something that helps me reason about this is thinking of how regular expressions match against strings, to remember that which goes on which side is important... > "this has a Q in it" ~~ / 'Q' / # of course this works ๏ฝขQ๏ฝฃ > / 'Q' / ~~ "this has a Q in it" # of course this breaks Regex object

The SF Perl Raku Study Group, 11/07 at 1pm PDT

2021-11-04 Thread Joseph Brenner
Susan Sontag's "On Camp" (1964): "Camp taste is a kind of love, love for human nature. It relishes, rather than judges, the little triumphs and awkward intensities of 'character.'" The Raku Study Group 11/07 1pm in California, 8pm in the UK Zoom meeting link: https://us02web.zoom.us/

Re: junctions with given/when

2021-11-04 Thread Joseph Brenner
> ... we'd need to go > through detailed, calm, measured discussion if we're to minimize > the pain it seems we'll inevitably endure pain to dig ourselves out > of the hole we'd be in. Yes, this could be a bad one.

Re: junctions with given/when

2021-11-04 Thread Joseph Brenner
Yes, thanks, I'd managed to forget that we had a go-round on this one six months ago, even though that one came out of the Raku Study Group I run. I'm actually finding this one profoundly depressing, but I probably shouldn't get into it. My thoughts are running along lines like "how is it possibl

Re: junctions with given/when

2021-11-04 Thread Ralph Mellor
On Thu, Nov 4, 2021 at 6:34 PM Ralph Mellor wrote: > > Aiui, until we listen to Larry, accept he's right, and fix Rakudo, > the results when the topic of a smart match is a Junction will > randomly depend on which version of Rakudo you're using. Further, aiui, when we do, there may be a world of

Re: junctions with given/when

2021-11-04 Thread Ralph Mellor
Aiui, we discussed this issue in May and Larry explained that this would happen. Larry doesn't speak up much, and I realized a few months later that it seemed no one had done anything about what he had said. So I filed an issue: https://github.com/Raku/problem-solving/issues/297 Aiui, until we l

The SF Perl Raku Study Group, 11/07 at 1pm PDT

2021-11-04 Thread Joseph Brenner
Susan Sontag's "On Camp" (1964): "Camp taste is a kind of love, love for human nature. It relishes, rather than judges, the little triumphs and awkward intensities of 'character.'" The Raku Study Group 11/07 1pm in California, 8pm in the UK Zoom meeting link: https://us02web.zoom.us/

Re: junctions with given/when

2021-11-04 Thread William Michels via perl6-users
I see the same as Joseph: $ raku Welcome to ๐‘๐š๐ค๐ฎ๐๐จโ„ข v2021.06. Implementing the ๐‘๐š๐ค๐ฎโ„ข programming language v6.d. Built on MoarVM version 2021.06. To exit type 'exit' or '^D' > say do given all(3,7) { when Int { "both are Int" }; default {"not similar"} }; not similar > say so do all(3,7) ~~ Int;

Re: A nice touch

2021-11-04 Thread Laurent Rosenfeld via perl6-users
It is the exponentiation operator: $ perl -E 'say 3 ** 2;' 9 Cheers, Laurent. Le mer. 3 nov. 2021 ร  20:05, Wes Peng a รฉcrit : > What's the "**" operator in perl? I most of the time use R for math, not > familiar with this operation. > > Thanks > > On Sun, Oct 31, 2021 at 3:38 AM Sean McAfee w