Re: Learning the "ff" (flipflop) infix operator? (was Re: Raku version of "The top 10 tricks... .")

2020-07-25 Thread Brad Gilbert
There's the ff operator and the fff operator. The ff operator allows both endpoints to match at the same time. The fff operator doesn't. On Sat, Jul 25, 2020 at 3:16 PM William Michels via perl6-users < perl6-us...@perl.org> wrote: > Hello, > > I'm trying to learn the "ff" (flipflop) infix opera

Learning the "ff" (flipflop) infix operator? (was Re: Raku version of "The top 10 tricks... .")

2020-07-25 Thread William Michels via perl6-users
Hello, I'm trying to learn the "ff" (flipflop) infix operator, generally taking examples from the docs (below): https://docs.raku.org/routine/ff I tried adding in an "m:1st" adverb and an "m:2nd" adverb, but the output isn't what I expect with the "m:2nd" adverb (examples #3 and #5): say "\n1.