2022.43 Cro Apper

Oleksander Kiryuhin and Jonathan Worthington announced the release of version 0.8.8 of Cro, the set of libraries for building reactive distributed systems. Coming with many fixes and additions (also by Cro community members), the most notable new features are found in the templating syntax: structural tags in conditions, else and elsif constructs, and inline comments.

Week Golf

After almost a week of voting, it appears that the Raku Programming Language will be an acceptable language on WeekGolf, a site to provide the shortest possible solution to a weekly problem. Although yours truly has mixed feelings about extreme golfing, it’s good to see the Raku Programming Language becoming more mainstream (/r/rakulang comments)!

Alexey’s Corner

Alexey Melezhik blogged about SparrowCI Pipelines, a free service to build CICD pipelines in multiple languages (quick start).

Elizabeth’s Corner

Elizabeth Mattijsen has published part 2 in the Don’t fear the grepper! saga, in which a confession was made (/r/rakulang comments).

Clifton’s Corner

Clifton Wood invites your comments about a piece of code they’ve written to easily provide cron-like functionality in Raku.

Márton’s Corner

Márton Polgár, coming in as a relative newcomer in the Raku community, has started collecting ideas to make Raku better. Comments welcome!

Did You Know?

That you can actually slice a set of keys in a hash, and easily filter out the values of existing keys only with the :v adverb?

my %h = a => 42, b => 666;
say %h<a b c>;    # (42 666 (Any))
say %h<a b c>:v;  # (42 666)

You can similarly select only existing keys with the :k adverb, and key/value pairs for the existing keys with the :p adverb:

my %h = a => 42, b => 666;
say %h<a b c>:k;  # (a b)
say %h<a b c>:p;  # (a => 42 b => 666)

The latter can be conveniently combined with the :delete adverb to split a hash into two hashes, by specifying the keys:

my %h = a => 42, b => 666;
my %o = %h<a c>:p:delete;
say %h;  # {b => 666}
say %o;  # {a => 42}

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

Weeklies

Weekly Challenge #188 is available for your perusal.

New Pull Requests

Core Developments

  • Stefan Seifert started working on the RakuAST branch again, adding features and fixing issues. One pesky issue with BEGIN that had bothered them for many months, was finally understood and fixed. Upping the number of passing roast test files (aka make spectest) to 532/1354 and rakudo test files (aka make test) to 65/131!
  • Elizabeth Mattijsen introduced a new value for %SUB-MAIN-OPTS, namely numeric-suffix-as-value. This allows arguments of the form --j=2 to be specified as -j2 on the command line of your CLI script.
  • Vadim Belman fixed an issue with definite type parameterization.

Questions about Raku

Meanwhile on Twitter

Meanwhile on the mailing list

Comments about Raku

New Raku Modules

Updated Raku Modules

Winding down

Seeing a new version of Cro is always exciting! And progress on RakuAST! And some nice bloggy posts, not a bad week at all.

This week’s picture shows that parts of the Netherlands are hilly enough to make clouds touch the ground, reminding us of the beauty of Ukraine, still fighting the Russian aggression. Слава Україні!  Героям слава!

In the meantime, please keep staying safe, keep staying healthy, and 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