2025.49 Advent is Rolling

Head on over to https://raku-advent.blog to see this year’s posts so far … thanks to all for the great contributions:

Advent: Last Call for your Participation

We already have 8 days under Santa’s belt with a further 7 posts lined up. So only a few slots left. Don’t miss out and reserve your slot now for the festive fun at the authors.md page before Anton and I grab them all. All it takes to get on the schedule is to make a quick PR with your name and your proposed festive post title(s). Beginner, Intermediate or Genius level – your call.

I am picturing the Advent Calendar as a Raku Iterable – a Seq for example – everyday we will pull one and in the meantime, hopefully you will have stepped forward to claim a slot before we run out of material.

Raku Tips ‘n Tricks

A recent Raku Snippet, shared at https://glot.io, caught my eye. I have reproduced the meat of it here:

role Sortish { 
    method is-sorted(--> Bool) {
        ?self.&{$_ Z<= .skip}.all
    } 
    method is-unsorted(--> Bool) {
        so one $_ Z> .skip with self
    } 
};

my @a does Sortish = [1, 2, 3, 3, 4, 6, 5];

say @a.is-sorted;
say @a.is-unsorted;

This shows just how easy it is to do a mixin in Roles. A video showing this idea in action is also available.

Your contribution is welcome, please make a gist and share via the raku channel IRC or Discord.

Weeklies

Weekly Challenge #351 is available for your delectation.

Questions About Raku

Comments About Raku

Updated Raku Modules

Winding down

Go on and join the fun with a festive Advent post. Go on, go on, go on.

Please keep staying safe and healthy, and keep up the good work! Even after week 47 of hopefully only 209.

Meanwhile, still: Слава Україні!  Героям слава!

~librasteve

Leave a comment