Re: junctions with given/when

2021-11-05 Thread Joseph Brenner
Yes, this feels like natural Raku code to a lot of us: given any( $o1, $o2 ) { when { ... } } If there's some rule like, "don't use junctions on the left hand side of a smartmatch" that hasn't been made clear, and there's certainly no roast tests that check this, so consequently the behavior

Re: junctions with given/when

2021-11-05 Thread Elizabeth Mattijsen
If this pull request is merged: https://github.com/rakudo/rakudo/pull/4620 you will get a deprecation notice at the end of your program of the locations in your code that need changing. Liz > On 5 Nov 2021, at 19:54, Joseph Brenner wrote: > > Yes, this feels like natural Raku code to a lo