2022.35 Reworkout

Mitarashi Dango reports that all of the Raku exercises at exercism.org have been reworked, and mentions there are some Raku exercises that need an example solution. Consider yourselves invited!

Alexandr’s Corner

Alexandr Zahatski has written an introduction to PodLite for Web (/r/rakulang comments), allowing you to easily create your own blog site using Pod6 and the Podlite editor.

Alexey’s Corner

Got an idea after the Raku Conference, implemented it, and wrote an introduction.

Anton’s Corner

Anton Antonov published an introduction into their DSL::English::DataQueryWorkflows module (/r/rakulang comments).

Wenzel’s Corner

Wenzel P.P. Peppmeyer was reading through Weekly Challenge solutions and spotted a pattern (/r/rakulang comments).

Did You Know?

That there are many ways to iterate over a list and skip a number of elements at the end?

my @a = "a" .. "e";

# star means @a.elems
.say for @a[0 .. *-1];           # a␤b␤c␤d␤e␤
.say for @a[0 .. *-2];           # a␤b␤c␤d␤
.say for @a[0 .. @a.elems - 1];  # a␤b␤c␤d␤e␤

# .end is .elems - 1
.say for @a[0 .. @a.end];        # a␤b␤c␤d␤e␤

# ..^ means skip the last element
.say for @a[0 ..^ @a.end];       # a␤b␤c␤d␤

# * means all
.say for @a.head(*);           # a␤b␤c␤d␤e␤
.say for @a.head(*-1);         # a␤b␤c␤d␤

Check out the “did you know” registry, started by Wenzel P.P. Peppmeyer. Suggestions as Pull Requests welcome!

Weeklies

Weekly Challenge #180 is available for your perusal.

Core Developments

  • Vadim Belman fixed many issues with generics, making e.g. sub foo(::T, $a --> T) { $a } work.

Questions about Raku

Meanwhile on Twitter

Meanwhile on the mailing list

Comments about Raku

New Raku Modules

  • annotations “Thread safe static state” by Ben Davies.
  • Ask Provides ‘ask’ as an alias for Raku core routine ‘prompt’ by Tom Browder.
  • CSV-AutoClass “Define a class with a CSV file and provide data for a list of class objects in the same file” by Tom Browder.

Updated Raku Modules

Winding down

Some exciting new modules! Meanwhile, it looks like there is not going to be a 2022.08 Rakudo Compiler Release, due to vacation and some remote toolchain update making it impossible to check the ecosystem.

This week’s image was not made by yours truly, but it is still there to remind us to support Ukraine in their and our fight against the Russian aggression. Слава Україні!  Героям слава!

In the meantime, please stay safe, stay healthy, keep up the good work!

If you like what I’m doing, committing to a small sponsorship would mean a great deal!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s